15 lines
1.5 KiB
JSON
15 lines
1.5 KiB
JSON
{
|
|
"name": "chrome_list_profiles",
|
|
"description": "List the Chrome profiles found on disk by reading the Local State file in the Chrome user-data directory. Returns each profile's directory name (e.g. \"Default\", \"Profile 1\"), display name, and GAIA (Google account) email if present. Profile enumeration is handled entirely by the native host and does not require the extension to be connected.\n\nEach profile also carries an \"attached\" field: true for the profile that currently holds the MCP bridge, false for the others, or the string \"unknown\" when attachment could not be determined (the extension has not completed its handshake, the profile is not signed in, or the identity permission is missing). Top-level \"attachmentKnown\" says which case you are in, and \"attachmentUnknownReason\" says why when it is unknown. When attachment is unknown, DO NOT infer which profile the bridge is on \u2014 an unknown answer is a real answer; treat it as such and say so rather than guessing.\n\nThis tool does NOT switch profiles: every other browser tool acts on the attached profile only. Selecting which profile the bridge drives is not yet implemented (see oleks/mcp-chrome#13).",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"userDataDir": {
|
|
"type": "string",
|
|
"description": "Absolute path to the Chrome user-data directory. If omitted, the platform default is used (e.g. ~/.config/google-chrome on Linux, ~/Library/Application Support/Google/Chrome on macOS, %LOCALAPPDATA%\\Google\\Chrome\\User Data on Windows)."
|
|
}
|
|
},
|
|
"required": []
|
|
}
|
|
}
|