Finalize agent execution
finalize_agent_executionClose an execution with a terminal status and a summary of the projects changed during that run.
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": {
"executionId": "<executionId>",
"terminalStatus": "<terminalStatus>",
"occurredAt": "<occurredAt>",
"changedProjects": "<changedProjects>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "finalize_agent_execution"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summary | No | Concise account of the work or result being recorded. | |
| occurredAt | Yes | Timestamp of the execution event being recorded. | |
| executionId | Yes | Execution record ID returned when the execution was registered; associates this call with that execution. Not a session or project ID. | |
| idempotencyKey | Yes | Caller-generated retry key. Reuse the same key and identical payload only to retry the same mutation; use a new key for a new action. | |
| terminalStatus | Yes | Final status of the execution being closed. | |
| changedProjects | Yes | Projects whose state changed during this execution. |