23 lines
987 B
JSON
23 lines
987 B
JSON
{
|
|
"name": "chrome_extension_config",
|
|
"description": "Get or set whitelisted extension configuration stored in chrome.storage.local. action=get returns a single key (or all whitelisted keys when key is omitted); action=set writes a writable key. Only a safe subset of settings is exposed.",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"action": {
|
|
"type": "string",
|
|
"enum": ["get", "set"],
|
|
"description": "get: read a whitelisted config value (or all when key omitted); set: write a writable config value."
|
|
},
|
|
"key": {
|
|
"type": "string",
|
|
"description": "Config key. One of: nativeServerPort, nativeAutoConnectEnabled, selectedModel, userPreferences (writable), serverStatus (read-only). Omit for action=get to return all whitelisted values."
|
|
},
|
|
"value": {
|
|
"description": "New value for action=set. Type depends on the key (number for nativeServerPort, boolean for nativeAutoConnectEnabled, etc.)."
|
|
}
|
|
},
|
|
"required": ["action"]
|
|
}
|
|
}
|