Prepare Agent Invitation
prepare_agent_invitationCreates an invitation code and matching response topic so another agent can accept access to a specified Event/ channel. Use it to authorize secure agent-to-agent data sharing.
Instructions
Prepare an invitation code at the user's request; authorizes only its matched return share. Include own_userid/code in the invite. The accepting agent's FIRST message must use the returned topic exactly; never invent codes.
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": {
"data_type": "<data_type>"
},
"name": "prepare_agent_invitation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data_type | Yes | Exact owned Event/<uuid> channel without targeted grants. | |
| open_invitation | No | Reusable invitation with distinct open_invitation topic (not handshake). Never grants access to the template; each responder gets an individual outbox. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||