send
Post a message to a ChatGPT chat, optionally attaching up to 10 files. Set a wait time (max 900 seconds) and choose a reply format to control the response.
Instructions
Send a message (optionally with files under the work dir, max 10) to a chat. Returns immediately with status=generating unless wait_sec>0 (max 900). reply_format: largest_markdown | text | blocks | all.
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": {
"chat": "<chat>",
"text": "<text>"
},
"name": "send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| text | Yes | ||
| files | No | ||
| wait_sec | No | ||
| reply_format | No | largest_markdown |