agy_start
Start an agy session in the background and get a job ID for polling status, reading output, or canceling.
Instructions
Start an agy session in the background. Returns an envelope with status='running' and a job_id you can poll via agy_status / agy_read / agy_cancel.
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": {
"PROMPT": "<PROMPT>"
},
"name": "agy_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cd | No | . | |
| mode | No | ask | |
| debug | No | ||
| model | No | ||
| PROMPT | Yes | ||
| job_id | No | ||
| backend | No | auto | |
| sandbox | No | ||
| timeout | No | ||
| worktree | No | ||
| extra_env | No | ||
| SESSION_ID | No | ||
| allow_write | No | ||
| output_protocol | No | claude |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| error | No | ||
| job_id | No | ||
| status | No | unknown | |
| adapter | No | ||
| success | Yes | ||
| log_path | No | ||
| warnings | No | ||
| artifacts | No | ||
| SESSION_ID | No | ||
| created_at | No | ||
| updated_at | No | ||
| all_messages | No | ||
| agent_messages | No | ||
| command_preview | No |