Assign Agent to Task Role
assign_agentAssign an agent to a task role and automatically create a scoped delegation with spend limits and Ed25519 public key verification.
Instructions
[OPERATOR] Assign an agent to a role in a task. Creates a delegation automatically.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"task_id": "<task_id>",
"role": "<role>",
"agent_id": "<agent_id>",
"agent_public_key": "<agent_public_key>",
"scope": "<scope>"
},
"name": "assign_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | Role to assign | |
| scope | Yes | Delegation scopes | |
| task_id | Yes | Task ID | |
| agent_id | Yes | Agent ID | |
| spend_limit | No | Max spend | |
| agent_public_key | Yes | Agent's Ed25519 public key |