terminate-component
Stop a specific component thread within a workflow session while other components continue running, providing granular control over workflow execution.
Instructions
Selectively terminate a specific component thread within a workflow session while allowing other components to continue running. Provides granular control over workflow execution by targeting individual components or threads. Useful for stopping problematic components without affecting the entire workflow.
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": {
"sessionId": "<sessionId>",
"componentId": "<componentId>"
},
"name": "terminate-component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threadId | No | The ID of the thread to terminate | root |
| sessionId | Yes | The ID of the workflow session | |
| componentId | Yes | The ID of the component to terminate |