retry_failed_steps
Re-run a prior task session from its stored original goal to retry all failed steps, then return the retry outcome and new session ID.
Instructions
Retry all failed steps from a prior task session.
Loads the session from long-term memory, retrieves its original goal,
and re-executes the task via run_task. Returns the retry outcome.
This is a full re-run of the original goal, not a selective step replay.
For selective step control, use decompose_task + run_task directly.
Args:
session_id: 8-char session ID from list_agent_sessions.
Returns:
str: JSON with retried, session_id, original_goal, new_session_id,
failed_steps_before, outcome.
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": {
"session_id": "<session_id>"
},
"name": "retry_failed_steps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |