chat_ask
Sends a prompt to a supported chat platform using a bound browser, then waits for the assistant’s reply; supports new or existing chats and optional non-blocking jobs.
Instructions
Send a prompt on a platform (new or existing chat) via the bound browser and wait for the assistant reply. Prefer over chats_create+manual wait; use jobs_enqueue kind=ask or wait:false for non-blocking. Requires browsers_bind; drives live provider UI (openWorld).
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": {
"platform": "<platform>",
"prompt": "<prompt>"
},
"name": "chat_ask"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Provider mode/style id when applicable | |
| wait | No | Default true; false returns job_id immediately | |
| files | No | Local files to attach to the prompt | |
| model | No | Provider model id when the UI exposes a model picker | |
| title | No | Optional title when creating a new chat | |
| tools | No | Provider tool/plugin ids to enable | |
| chatId | No | Existing chat id; omit to create/continue per platform defaults | |
| prompt | Yes | User prompt to send | |
| toggles | No | Provider UI toggle ids to enable | |
| platform | Yes | Provider id: chatgpt | grok | grok-x | claude | copilot | qwen | deepseek | perplexity | |
| browserId | No | Override bound browserId for this call only | |
| timeout_s | No | Max seconds to wait for the assistant reply (10-300) |