jobs_enqueue
Enqueue a background job (ask, export, batch export/delete) on a bound browser lane and get a job_id immediately for long or bulk work. Poll progress with jobs_status.
Instructions
Enqueue a background job on the bound browser lane (ask, export, export_batch, delete, delete_batch) and return job_id immediately. Prefer for long/bulk work; use chat_ask/chats_export synchronously when you can wait. Poll with jobs_status; cancel with jobs_cancel. Requires browsers_bind; delete kinds need confirm + allowDestructive.
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": {
"kind": "<kind>",
"platform": "<platform>"
},
"name": "jobs_enqueue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | Max items for batch jobs | |
| kind | Yes | Background job kind for the bound browser lane | |
| mode | No | Provider mode id for ask | |
| files | No | Attachments for ask | |
| model | No | Provider model id for ask | |
| query | No | Optional filter query for batch discovery | |
| title | No | Optional title when creating a chat for ask | |
| tools | No | Provider tool ids for ask | |
| branch | No | Branch selector when applicable | |
| chatId | No | Target chat id for ask/export/delete | |
| outDir | No | Output directory for export kinds | |
| prompt | No | Prompt text when kind=ask | |
| chatIds | No | Chat ids for batch export/delete | |
| confirm | No | Required true for delete/delete_batch | |
| formats | No | Export formats for export kinds | |
| toggles | No | Provider toggle ids for ask | |
| platform | Yes | Provider id: chatgpt | grok | grok-x | claude | copilot | qwen | deepseek | perplexity | |
| testOnly | No | When true, validate only without mutating | |
| browserId | No | Override bound browserId for this job | |
| timeout_s | No | Per-op timeout seconds for ask-like work (10-300) |