mint_token
Mint a collaborator token for a baton so another agent — or a human — 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_…) to share as the baton credential, plus an editUrl a human can open in a browser to read and edit the content directly. Works on any baton; best on a checkpoint — that is the document shape, where a save replaces the current state so every reader (human or agent) sees the same thing. On append-shaped batons (scratchpad, ledger) a save adds an entry and the editor shows the newest entry only. Example: mint_token {id:"bat_", type:"read_write"}
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 |