send_message
Send messages to Chrome extensions and capture responses, enabling direct testing of message handling from AI coding agents.
Instructions
Send a message via chrome.runtime.sendMessage() and capture the response.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | Message to send via chrome.runtime.sendMessage() | |
| timeout | No | Timeout in milliseconds | |
| expectResponse | No | Whether to wait for a response |