list_remotes
Retrieve script-created remotes for all scripts or one script to recover their links, inspect titles and tools, or find stale remotes no longer opened by their scripts.
Instructions
List the remotes that scripts have made for the user's other device with CM_remote (Script Remotes), for every script or for one. A remote is a page a script wrote: the user opens its link on their phone, and its buttons run the script's tools in the signed-in tab. Each has scriptId, script, name, id, url (its link: give it to the user whole, including everything after #), title, site, tools, handsOver and revision. A remote keeps one link for its life, and its script changes it in place by opening it again under the same name. Use this to find a remote's link again, or to find one its script no longer opens (for example after you renamed it), which end_remote ends.
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": "list_remotes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scriptId | No | Only this script's remotes. Omit for every script's. |