Create Codex Terminal From Agent
create_codex_terminal_from_agentCreate a connected Codex terminal from an agent preset, optionally linked to a canvas node.
Instructions
Create a connected Codex terminal using an agent preset. If sourceNodeId is omitted, use the selected canvas node.
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": {
"agentPresetId": "<agentPresetId>"
},
"name": "create_codex_terminal_from_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sourceNodeId | No | ||
| agentPresetId | Yes | ||
| cwd | No | ||
| addToGrid | No |