get_script_decisions
Reads script decisions and provider readiness on this device—agent access, plan, device status, saved keys, question-list hashes, and issues—so you can verify settings before changing decisions.
Instructions
Read Script Decisions on this device: the typed decisions scripts make through @grant CM_decisions. Returns whether agents may manage it (agentAccess.scriptDecisions; the person turns it on under Full access in Customaise Settings, Agent permissions), sign-in and plan (Power User is required), whether this device is allowed (deviceEnabled) or paused (locallyPaused), which provider keys are saved, and every script that uses CM_decisions or has a provider: its provider (jev, openai-decisions, gemini-decisions or null), supported (the providers that can answer at least one of its question lists; choose among these) and state, one of ready, off, choose_again (its code or this device changed since the provider was chosen; reason says which), paused (pausedReason loop_repeat or loop_runaway) or invalid (issue). chosenByAgent marks a provider an agent chose. With scriptId it also returns that script's question lists (sets: hash, enabled, questions, and providers, the ones that answer that list; under another provider it stays Off), the problems found in its code (issues, with line numbers) and today's decisions on this device (rowsToday). Use it before set_script_decisions, which names question lists by these hashes, and after export_script to check a script's provider. Reads only; nothing is sent to a provider. Needs extension 1.4.0 or later.
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": "get_script_decisions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scriptId | No | A script ID from list_scripts. Omit to list every script that uses CM_decisions or has a provider. |