@agenticmail/mcp 0.5.34 → 0.5.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/REFERENCE.md +0 -14
- package/dist/index.js +0 -23
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -148,7 +148,7 @@ The server runs with stdio transport — the AI client sends JSON-RPC messages v
|
|
|
148
148
|
| `list_agents` | List all agents with name, email, role | "Show me all agents" |
|
|
149
149
|
| `message_agent` | Send email to another agent (with priority levels) | "Tell the researcher to look up pricing data" |
|
|
150
150
|
| `check_messages` | Check for new messages from agents and externals | "Any new messages?" |
|
|
151
|
-
| `
|
|
151
|
+
| `call_agent` | Call another agent with a task (sync or async) | "Call the analyst to research this topic" |
|
|
152
152
|
| `claim_task` | Claim a pending task assigned to you | "Claim that task" |
|
|
153
153
|
| `submit_result` | Submit result for a claimed task | "Submit the research findings" |
|
|
154
154
|
| `check_tasks` | Check incoming or outgoing tasks | "Do I have any pending tasks?" |
|
package/REFERENCE.md
CHANGED
|
@@ -582,20 +582,6 @@ Replaces `{{ variableName }}` patterns in subject and body.
|
|
|
582
582
|
|
|
583
583
|
---
|
|
584
584
|
|
|
585
|
-
### assign_task
|
|
586
|
-
|
|
587
|
-
**Input Schema:**
|
|
588
|
-
| Field | Type | Required | Default |
|
|
589
|
-
|-------|------|----------|---------|
|
|
590
|
-
| `assignee` | string | Yes | — |
|
|
591
|
-
| `taskType` | string | No | "generic" |
|
|
592
|
-
| `payload` | object | No | — |
|
|
593
|
-
| `expiresInSeconds` | number | No | — |
|
|
594
|
-
|
|
595
|
-
**Behavior:** `POST /tasks/assign`
|
|
596
|
-
|
|
597
|
-
---
|
|
598
|
-
|
|
599
585
|
### check_tasks
|
|
600
586
|
|
|
601
587
|
**Input Schema:**
|
package/dist/index.js
CHANGED
|
@@ -799,20 +799,6 @@ var toolDefinitions = [
|
|
|
799
799
|
required: ["action"]
|
|
800
800
|
}
|
|
801
801
|
},
|
|
802
|
-
{
|
|
803
|
-
name: "assign_task",
|
|
804
|
-
description: "Assign a task to another agent via the task queue",
|
|
805
|
-
inputSchema: {
|
|
806
|
-
type: "object",
|
|
807
|
-
properties: {
|
|
808
|
-
assignee: { type: "string", description: "Agent name to assign the task to" },
|
|
809
|
-
taskType: { type: "string", description: "Task category (default: generic)" },
|
|
810
|
-
payload: { type: "object", description: "Task data/instructions" },
|
|
811
|
-
expiresInSeconds: { type: "number", description: "Task expiry in seconds" }
|
|
812
|
-
},
|
|
813
|
-
required: ["assignee"]
|
|
814
|
-
}
|
|
815
|
-
},
|
|
816
802
|
{
|
|
817
803
|
name: "check_tasks",
|
|
818
804
|
description: "Check for pending tasks assigned to you (or a specific agent) or tasks you assigned to others",
|
|
@@ -1944,15 +1930,6 @@ ${r.agents.map(
|
|
|
1944
1930
|
}
|
|
1945
1931
|
throw new Error("Invalid action. Use: list_inactive, cleanup, or set_persistent");
|
|
1946
1932
|
}
|
|
1947
|
-
case "assign_task": {
|
|
1948
|
-
const result = await apiRequest("POST", "/tasks/assign", {
|
|
1949
|
-
assignee: args.assignee,
|
|
1950
|
-
taskType: args.taskType,
|
|
1951
|
-
payload: args.payload,
|
|
1952
|
-
expiresInSeconds: args.expiresInSeconds
|
|
1953
|
-
});
|
|
1954
|
-
return `Task assigned to ${result?.assignee}. Task ID: ${result?.id}`;
|
|
1955
|
-
}
|
|
1956
1933
|
case "check_tasks": {
|
|
1957
1934
|
let endpoint = args.direction === "outgoing" ? "/tasks/assigned" : "/tasks/pending";
|
|
1958
1935
|
if (args.direction !== "outgoing" && args.assignee) {
|