codex_goal
Read or steer a Codex chat's goal by ID or title: get the current objective, pause or resume it, or edit and save a replacement objective.
Instructions
Read or steer the goal of a Codex chat (id or exact title).
action: 'get' | 'pause' (the stop button) | 'resume' (the start button) | 'edit' (opens Edit goal, replaces the
objective with objective, presses Save). Changes are checked against Codex's goal store.
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": {
"chat": "<chat>"
},
"name": "codex_goal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| action | No | get | |
| project | No | ||
| objective | No |