cortical_handoff
Save and load shared task context—goal, modified files, decisions, and next step—so different coding agents can resume work across Antigravity, pi, OpenCode, Claude Code, and Codex.
Instructions
Save or load shared working context (goal, modified files, decisions, next_step) across Antigravity, pi, OpenCode, Claude Code & Codex.
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": {
"action": "<action>"
},
"name": "cortical_handoff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | No | Short statement of the active objective when saving a handoff. | |
| action | Yes | Whether to save the current task handoff state or load the latest saved handoff. | load |
| summary | No | Concise summary of progress, decisions, and current state. | |
| next_step | No | Exact next action for the receiving agent or harness to execute. | |
| modified_files | No | List of file paths modified during the session. | |
| source_harness | No | Name of the harness creating the handoff (e.g. antigravity, pi, opencode, claude-code, codex). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| found | No | ||
| saved | No | ||
| handoff | No |