GenOffice app eval (DOM)
genoffice_app_evalEvaluate JavaScript expressions in the GenOffice app page to inspect UI state not covered by standard read tools. Read-only by default; set mutate to alter the page.
Instructions
Evaluate a JavaScript expression in the GenOffice app page context over CDP (DOM reads/writes). Read-only by default (mutate=true required to change the page). Use for inspecting UI state that the read tools do not cover. Requires the app running with the debug port.
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": {
"expression": "<expression>"
},
"name": "genoffice_app_eval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mutate | No | Allow page mutation (default false — read-only) | |
| expression | Yes | JS expression to evaluate in the page (e.g. document.title) |