ask_workspace
Send an async chat query to an AnythingLLM workspace, returning a job ID immediately to avoid MCP timeouts on slow models; poll get_answer until done.
Instructions
Async chat query to an AnythingLLM workspace. Returns a job_id instantly so the call never hits the ~60s MCP timeout (use for slow models like Qwen 32B). Poll get_answer until status is 'done'.
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": {
"slug": "<slug>",
"question": "<question>"
},
"name": "ask_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | query=only indexed docs (default); chat=allow model general knowledge | |
| slug | Yes | ||
| question | Yes |