doc_share
Share a document for editing. Grant access to a specific agent by providing to_agent_id, or generate a share token for another agent when omitted.
Instructions
Compartilha para edição. Com to_agent_id concede grant; sem ele gera share_token para outro agente.
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": {
"doc_id": "<doc_id>"
},
"name": "doc_share"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | editor | |
| doc_id | Yes | ||
| agent_id | No | ||
| max_uses | No | ||
| to_agent_id | No | ||
| ttl_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||