query
Inspect a connected computer without changing it—windows as controls, screenshots, text/files, timelines, progress, disk usage, or skills—only when needed facts cannot be inferred.
Instructions
Look at the computer that connect connected to, without changing anything on it: what: the kind of look, args: its arguments (* = needed), help: true for a kind's full description and every argument. Look only when the next step needs something you can't guess (what a page lists, why a plan failed): a plan (act { do: "run" }) and every action already report what changed. Reading the screen as controls (observe) is cheaper and more exact than a screenshot; take a screenshot for layout, images and programs that draw their own UI. Doing things, and skills import and forget, is act's.
observe: Read a window as text: its controls (buttons, text boxes, checkboxes, menus, list items, links, text) as a tree, each with a reference like [e12], its state and value, and its centre @(x,y). Args: window, query, role, image, ocr, offscreen, max
screenshot: Capture the screen as an image. Args: window, marks, display, x0, y0, x1, y1, maxWidth
read_text: Read text. Args: target, window, role, nth, x0, y0, x1, y1, display, source
wait_for: Wait until something happens, and return the moment it does. Args: appears, text, stable, seconds, gone, window, ocr, until, x0, y0, x1, y1, everyMs, confirm, timeoutSec, after
timeline: What happened to the windows lately, from the computer's own timeline (no looking needed): what came up, went away, came to the front, was minimized or restored, with how long ago. Args: seconds, window
progress: How queued plans went: a report for each that finished since last asked (✓/✗ per step, and where things stand after a failure), and where the running one is. Args: waitSec
skills: Find skills for a task or window, show a saved skill, or export skills. Args: query, window, show, export, max
list_files: A folder's contents (modified time, size, name). Args: path, pattern, maxResults
read_file: Read a text file on the computer, with line numbers. Args: path*, offset, limit
search_files: Search file contents in a file or folder (regular expression). Args: path*, pattern*, glob, ignoreCase, context, maxResults
disk_usage: Show where disk space goes under a folder: the largest subfolders as a tree (size and share of the parent) and the largest files. Args: path, depth, perFolder, topFiles
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": {
"what": "<what>"
},
"name": "query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Its arguments | |
| help | No | Only say what this kind does and takes | |
| what | Yes | The kind of look |