Serve Bowmark pages' AI calls
llm_pollLets this chat answer the AI calls an open Bowmark page makes, so they cost nothing. Returns up to 5 pending jobs ({ jobId, system, prompt, toolName, inputSchema, leaseSeconds }); waits up to waitSeconds (max 15) when there are none. Answer each with llm_answer. Calling this marks the chat as attached for 20 seconds; stop calling it, or call llm_detach, to let calls go back to Bowmark's own model.
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": "llm_poll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| waitSeconds | No | How long to wait for a job when none is pending. Capped at 15. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobs | No | The jobs claimed for you to answer. | |
| instructions | No | How to answer them. |