Issue a scoped access token
mandare_issue_tokenIssue a short-lived proof-of-possession token for an agent to present to the gateway. The token is saved securely to a file, and the result provides the file path for the agent to use.
Instructions
Mint a short-lived proof-of-possession token an agent presents to the gateway (TTL ≤ 30 minutes). The grant INCLUDING ITS ONE-TIME SECRET is written 0600 to the operator-configured home directory; the result references it by path only — hand the FILE to the agent process (e.g. @mandarelabs/sdk tokenCredentialsFromIssueJson), never paste its contents into chat.
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": {
"actor_did": "<actor_did>",
"mandate_id": "<mandate_id>"
},
"name": "mandare_issue_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor_did | Yes | The agent DID the token is scoped to | |
| mandate_id | Yes | ||
| ttl_seconds | No |