Skip to content

computerUseSetup/read

Reads one session’s computer-use setup state and permissions by running cua_setup status for it as a host command: no model turn, no prompt, no spawn; computerUseUnavailable while the CUA gate is off. Without sessionId it reads the host’s own setup, with computerUseHostSetup.

Type: ComputerUseSetupReadParams

computerUseSetup/read params.

Field Type Stability Presence Description
sessionId string optional The session whose setup to read. Omitted reads the host’s own setup, which needs the computerUseHostSetup grant.
Source

schema/msp/experimental/msp.schema.json#/methods/computerUseSetup~2Fread

{
"description": "Reads one session's computer-use setup state and permissions by running cua_setup status for it as a host command: no model turn, no prompt, no spawn; computerUseUnavailable while the CUA gate is off. Without sessionId it reads the host's own setup, with computerUseHostSetup.",
"params": {
"$ref": "#/$defs/ComputerUseSetupReadParams"
},
"result": {
"$ref": "#/$defs/ComputerUseSetupState"
}
}