mint_token
Generate a collaborator token for a baton so another agent can read or write without your key. Configure access type, usage limits, expiry, and IP restrictions.
Instructions
Mint a collaborator token for a baton so another agent can read and/or write without your key. FREE. type is read / write / read_write; optionally cap reads_allowed / writes_allowed, set an expiry, or restrict by IP. Up to 100 tokens per baton. Owner only. Returns the token id (tok_…) — share it as the baton credential. Example: mint_token {id:"bat_", type:"read_write"}
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": {
"id": "<id>",
"type": "<type>"
},
"name": "mint_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| type | Yes | ||
| expires_at | No | ||
| ip_allow_list | No | ||
| reads_allowed | No | ||
| writes_allowed | No | ||
| require_fingerprint | No |