Get Contract
get-contract[Auth Required] Get a single contract by id. Returns {contract, role_id, read, write, subContracts}. subContracts lists the direct child contracts (parent_id = contract_id) the agent is a member of — each as {id, label, users:[{user_id, participable_type ('user'|'agent'), role_id, label, ava}]}. Empty array for a leaf contract or one with no accessible children.
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": {
"contract_id": "<contract_id>"
},
"name": "get-contract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contract_id | Yes | Contract ID |