Apply a cooperation action
cooperation_applyCommit one authenticated metadata action with revision and generation checks.
Instructions
Commit one authenticated metadata action with revision and generation checks.
Claims coordinate participating clients; they do not fence shell writes or
admit heavy execution. An expired heartbeat never grants ownership. Scope
and host/user authorization remain mandatory. Independent-root capability
loss has no online reset; owner cleanup is an explicitly authorized offline
operation. This tool executes no model, shell mutation, or chat message.
workspace names the physical checkout this execution runs in, and is followed only
inside an owner-registered checkout grant of this session's workspace; any other
path is scope_denied.
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": {
"request": "<request>"
},
"name": "cooperation_apply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes | Closed agents-core/cooperation/1 mutation object or raw JSON. Required protocol, repository_id, participant_id, capability, operation_id, expected_revision (integer), expected_generation (integer), action. Optional subject_id is an authorized registered child. action.kind is exactly declare_intent/propose/acknowledge/reject/acquire/heartbeat/checkpoint/release/handoff/accept_artifact/cancel/recover; read agents-core://cooperation/schema for every closed action payload. Retry an ambiguous result with the identical operation_id and body. Maximum 32768 UTF-8 bytes, depth 8; no unknown fields or duplicate keys. | |
| workspace | No | Absolute path of your working directory, the project this session works in. Pass it whenever you have one. It never widens this session's grant: over HTTP the workspace registered for the connection decides, and over stdio it is checked against the client's own MCP roots unless this session's root is already pinned, when it is ignored. Each tool's description says what it does with a path that grant does not cover. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||