call_extension
Send a JSON message from the browser automation extension to another installed extension, enabling cross-extension communication even with no tabs open.
Instructions
Send a JSON message from the BTAP extension service worker to another installed extension. The target must be enabled and list this BTAP extension in externally_connectable. Works with no tabs open.
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": {
"extension_id": "<extension_id>",
"message_json": "<message_json>"
},
"name": "call_extension"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No | ||
| extension_id | Yes | ||
| message_json | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||