respond_to_copilot
Send a user's yes/no or custom reply to an active Copilot CLI permission prompt, allowing the conversation to continue.
Instructions
Respond to a Copilot CLI permission question in interactive mode. When Copilot asks for permission (e.g., 'Allow file modification?'), use this tool to send the user's response (e.g., 'yes', 'no', or custom text).
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": {
"session_id": "<session_id>",
"response": "<response>"
},
"name": "respond_to_copilot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response | Yes | Response to send to Copilot (e.g., 'yes', 'no', 'y', 'n', or custom text) | |
| session_id | Yes | The session ID of the Copilot process waiting for input |