Probe FxAccounts / Sync state without using a real account
browser_sync_probeInspect Firefox Sync/FxAccounts state without a real sign-in, report what is reachable and whether an account is signed in, and install or remove a mock account for offline testing.
Instructions
Inspect the Sync/FxAccounts surface WITHOUT signing in to any real account. MEASURED: resource://gre/modules/FxAccounts.sys.mjs exports FxAccounts whose constructor takes a mocks object (constructor(mocks = null)), which is the supported way to exercise account code paths offline — this is how the Sync test suites run. This tool reports what can be reached and whether a real account is signed in; it never sends credentials anywhere.
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": {
"action": "<action>"
},
"name": "browser_sync_probe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Fake account email (default mock-user@example.test) | ||
| action | Yes | status = inspect only; mock-signin installs a fake account; mock-signout removes it |