issue_credential
Issue a root credential for task workflows to grant scoped authority from a human user to an agent, enabling secure delegation without multiple unrelated credentials.
Instructions
Issue a new root credential for a task. Use this at the start of a workflow when an orchestrator or top-level agent needs explicit scoped authority tied to a human user and instruction. Returns a signed JWT plus claims including the task tree ID; use delegate_credential for child agents instead of issuing multiple unrelated root credentials.
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": {
"agent_id": "<agent_id>",
"user_id": "<user_id>",
"scope": "<scope>",
"instruction": "<instruction>"
},
"name": "issue_credential"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Agent identifier | |
| user_id | Yes | Human principal who authorized the task | |
| scope | Yes | Permission scopes, e.g. ["email:send"] | |
| instruction | Yes | Task instruction | |
| ttl_seconds | No | Token lifetime in seconds (default 3600, max 86400) |