complete_step
Completes the current step in a workflow and returns the next step. Optionally provide a result from the current step.
Instructions
Complete current step and get next step.
Args: ctx: MCP context for logging and error handling session_id: ID of the session. result: Optional result from executing the current step.
Returns: Dictionary containing next step information.
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": "complete_step"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| result | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |