pilot_chat_write
Writes and verifies exact multiline text in a unique chat composer, preserving drafts unless replacement is requested; optionally sends once using a request ID to prevent replay.
Instructions
Write and verify exact multiline text in a unique accessible composer. Preserves an existing draft unless replace=true. Optional send clicks a fresh unique button once. request_id prevents replay across restarts when Rust is enabled; reuse it after uncertain delivery. Never sends Enter to a terminal.
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": {
"app": "<app>",
"target": "<target>",
"text": "<text>",
"replace": "<replace>",
"request_id": "<request_id>"
},
"name": "pilot_chat_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ||
| send | No | ||
| text | Yes | ||
| target | Yes | ||
| replace | Yes | ||
| window_id | No | ||
| request_id | Yes |