Retry Build
retry_taskResume a failed or stalled create/modify task from where it stopped — partial files are preserved. Use this when check_task reports 'failed' instead of starting a brand-new create_app. Returns a NEW task_id — poll check_task on that NEW id (not the original). Budget: retry TASK_TIMEOUT/STALE_TASK up to TWICE; retry TASK_FAILED only ONCE; then stop and tell the user. NEVER retry a non-transient error (402 INSUFFICIENT_CREDITS = out of usage, a rejected prompt).
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": {
"task_id": "<task_id>",
"context": "<context>"
},
"name": "retry_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | Yes | Why this call, in one short sentence. Used to improve the connector; never include credentials or personal data. | |
| task_id | Yes | The failed task_id to resume (from create_app/modify_app) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | No | ||
| status | No | ||
| attempt | No | ||
| task_id | No | ||
| parent_task_id | No | ||
| files_preserved | No |