Read contracts
swarm_get_contractRead requirements before acting: work for execution and completion rules, answer for Space questions, operation for a named intelligence operation_kind. Creates no work or permission.
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": {
"view": "<view>"
},
"name": "swarm_get_contract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | Yes | Select one operation. answer: no required fields; operation: requires operation_kind; work: no required fields. Supply only fields applicable to that operation. | |
| space_id | No | Space for Space-scoped views; omit if sole. ID-only views resolve access from the resource ID, not this convenience field. | |
| operation_kind | No | Kind from swarm_inspect_space (view=capabilities); read its operation contract. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||