get api task
get_api_taskCheck a long-running task: a task_id from call_api or a route_id from run_agent_task. Returns its state, which agents were tried, and the output once it is done. Pass cancel to stop it (credits come back) or reply to answer an agent that asked for input. Needs a StartupHub.ai API key with credit (pay as you go).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_api_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reply | No | Your answer when the task needs input | |
| cancel | No | ||
| task_id | No | The task_id call_api returned | |
| route_id | No | Or the route_id run_agent_task returned |