Create and Wait for Task Result
solvewall_solve_taskSubmits a task and waits for completion using realtime streaming with automatic polling fallback, then returns the solution, cost, and elapsed time.
Instructions
High-level consumer helper: submits a task and waits for completion via realtime SSE (/stream/:taskId) with automatic polling fallback, returning the solution, cost, and elapsed milliseconds.
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": "<task>"
},
"name": "solvewall_solve_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | Task payload object containing `type` and required parameters | |
| apiKey | No | Optional override API key | |
| exactMode | No | Require two independent solvers to agree (1.9x rate) | |
| timeoutMs | No | Maximum wait time in ms (default 120000) | |
| idempotencyKey | No | Optional deduplication key |