Send and Wait
send_and_waitSend a prompt to GitHub Copilot and wait for the complete response, blocking until the agent finishes or the timeout is reached.
Instructions
Send a message to GitHub Copilot and wait for the complete response. Blocks until the agent finishes or timeout is reached.
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": {
"workspace": "<workspace>",
"sessionId": "<sessionId>",
"prompt": "<prompt>"
},
"name": "send_and_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Message content to send to the agent | |
| timeout | No | Timeout in milliseconds (default: 300000 = 5 minutes) | |
| sessionId | Yes | Session ID | |
| workspace | Yes | Workspace ID or project directory path | |
| attachments | No | File attachments |