jobs_enqueue
Queue a background browser job (ask, export, batch, library ingest, or delete) on a bound Chrome lane and return a job ID immediately; poll status or cancel separately.
Instructions
Enqueue a background job on the bound browser lane (ask, export, export_batch, library_ingest, delete, delete_batch) and return job_id immediately. Prefer library_ingest to fill the local SQLite+FTS library without writing export files (then chats_search offline). Prefer export/export_batch for durable files. Paywall host_state does not block export/library_ingest. Captcha is never auto-solved. 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 | |
| schema | No | Export text schema for export kinds | |
| chatIds | No | Chat ids for batch export/delete/library_ingest | |
| confirm | No | Required true for delete/delete_batch | |
| formats | No | Export formats for export kinds (or library_ingest with writeFiles) | |
| toggles | No | Provider toggle ids for ask | |
| platform | Yes | Provider id: chatgpt | grok | grok-x | copilot | claude | qwen | deepseek | perplexity | kimi | zai | minimax | |
| testOnly | No | When true, validate only without mutating | |
| browserId | No | Override bound browserId for this job | |
| ensureTab | No | If true, tabs_ensure before the mutate when needed (default false) | |
| onCaptcha | No | Captcha policy (default stop). Captcha is never auto-solved. stop=error immediately; wait_human=poll host_state until cleared; allow_agent=return structured challenge and only permit UI action when the operator opted in via the client prompt | |
| timeout_s | No | Per-op timeout seconds for ask-like work (10-600; kimi/zai/minimax may need >300) | |
| writeFiles | No | library_ingest only: when true also write export files (default false = cache only) |