commandagi 0.6.0__tar.gz → 0.6.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. {commandagi-0.6.0 → commandagi-0.6.1}/CHANGELOG.md +39 -0
  2. {commandagi-0.6.0 → commandagi-0.6.1}/PKG-INFO +11 -2
  3. {commandagi-0.6.0 → commandagi-0.6.1}/README.md +10 -1
  4. {commandagi-0.6.0 → commandagi-0.6.1}/commandagi/__init__.py +1 -1
  5. {commandagi-0.6.0 → commandagi-0.6.1}/commandagi/_generated.py +7 -1
  6. {commandagi-0.6.0 → commandagi-0.6.1}/commandagi/design/__init__.py +1 -1
  7. commandagi-0.6.1/commandagi/design/agents.py +182 -0
  8. {commandagi-0.6.0 → commandagi-0.6.1}/commandagi/design/circuit_checks.py +17 -3
  9. {commandagi-0.6.0 → commandagi-0.6.1}/commandagi/design/eda.py +17 -1
  10. commandagi-0.6.1/commandagi/design/firmware.py +141 -0
  11. {commandagi-0.6.0 → commandagi-0.6.1}/commandagi/design/ontology.py +4 -3
  12. commandagi-0.6.1/commandagi/design/part_fields.py +346 -0
  13. {commandagi-0.6.0 → commandagi-0.6.1}/commandagi/design/pcb.py +88 -2
  14. {commandagi-0.6.0 → commandagi-0.6.1}/commandagi/design/records.py +39 -5
  15. {commandagi-0.6.0 → commandagi-0.6.1}/commandagi/design/schematic.py +15 -63
  16. commandagi-0.6.1/commandagi/design/standards_data.py +14 -0
  17. {commandagi-0.6.0 → commandagi-0.6.1}/commandagi/design/study.py +8 -0
  18. commandagi-0.6.1/commandagi/design/systems.py +233 -0
  19. {commandagi-0.6.0 → commandagi-0.6.1}/commandagi/design/tasks.py +16 -2
  20. commandagi-0.6.1/commandagi/design/testplans.py +92 -0
  21. {commandagi-0.6.0 → commandagi-0.6.1}/commandagi/design/threed.py +48 -7
  22. {commandagi-0.6.0 → commandagi-0.6.1}/commandagi/design/threed_elements.py +237 -154
  23. commandagi-0.6.1/commandagi/design/threed_schema.py +4 -0
  24. commandagi-0.6.1/commandagi/design/tolerances.py +119 -0
  25. {commandagi-0.6.0 → commandagi-0.6.1}/commandagi/kernel.py +25 -7
  26. {commandagi-0.6.0 → commandagi-0.6.1}/commandagi-sdk.schema.json +27 -0
  27. commandagi-0.6.1/tests/test_agents.py +100 -0
  28. {commandagi-0.6.0 → commandagi-0.6.1}/tests/test_kernel.py +12 -1
  29. commandagi-0.6.1/tests/test_logistics.py +141 -0
  30. {commandagi-0.6.0 → commandagi-0.6.1}/tests/test_ontology.py +8 -0
  31. {commandagi-0.6.0 → commandagi-0.6.1}/tests/test_records.py +20 -1
  32. {commandagi-0.6.0 → commandagi-0.6.1}/tests/test_schematic.py +16 -2
  33. {commandagi-0.6.0 → commandagi-0.6.1}/tests/test_study.py +16 -0
  34. commandagi-0.6.1/tests/test_systems.py +103 -0
  35. {commandagi-0.6.0 → commandagi-0.6.1}/tests/test_tasks.py +9 -1
  36. commandagi-0.6.1/tests/test_testplans.py +102 -0
  37. {commandagi-0.6.0 → commandagi-0.6.1}/tests/test_threed.py +20 -4
  38. commandagi-0.6.1/tests/test_tolerances.py +46 -0
  39. commandagi-0.6.0/commandagi/design/standards_data.py +0 -12
  40. commandagi-0.6.0/commandagi/design/threed_schema.py +0 -4
  41. {commandagi-0.6.0 → commandagi-0.6.1}/.gitignore +0 -0
  42. {commandagi-0.6.0 → commandagi-0.6.1}/LICENSE +0 -0
  43. {commandagi-0.6.0 → commandagi-0.6.1}/commandagi/client.py +0 -0
  44. {commandagi-0.6.0 → commandagi-0.6.1}/commandagi/design/business.py +0 -0
  45. {commandagi-0.6.0 → commandagi-0.6.1}/commandagi/design/cad.py +0 -0
  46. {commandagi-0.6.0 → commandagi-0.6.1}/commandagi/design/cadquery.py +0 -0
  47. {commandagi-0.6.0 → commandagi-0.6.1}/commandagi/design/documents.py +0 -0
  48. {commandagi-0.6.0 → commandagi-0.6.1}/commandagi/design/element.py +0 -0
  49. {commandagi-0.6.0 → commandagi-0.6.1}/commandagi/design/fab.py +0 -0
  50. {commandagi-0.6.0 → commandagi-0.6.1}/commandagi/design/graph.py +0 -0
  51. {commandagi-0.6.0 → commandagi-0.6.1}/commandagi/design/ir.py +0 -0
  52. {commandagi-0.6.0 → commandagi-0.6.1}/commandagi/design/media.py +0 -0
  53. {commandagi-0.6.0 → commandagi-0.6.1}/commandagi/design/monitors.py +0 -0
  54. {commandagi-0.6.0 → commandagi-0.6.1}/commandagi/design/office.py +0 -0
  55. {commandagi-0.6.0 → commandagi-0.6.1}/commandagi/design/pdf.py +0 -0
  56. {commandagi-0.6.0 → commandagi-0.6.1}/commandagi/design/postal.py +0 -0
  57. {commandagi-0.6.0 → commandagi-0.6.1}/commandagi/design/schema.py +0 -0
  58. {commandagi-0.6.0 → commandagi-0.6.1}/commandagi/design/solids.py +0 -0
  59. {commandagi-0.6.0 → commandagi-0.6.1}/commandagi/design/source.py +0 -0
  60. {commandagi-0.6.0 → commandagi-0.6.1}/commandagi/design/standards.py +0 -0
  61. {commandagi-0.6.0 → commandagi-0.6.1}/commandagi/design/tsx.py +0 -0
  62. {commandagi-0.6.0 → commandagi-0.6.1}/commandagi/design/twod.py +0 -0
  63. {commandagi-0.6.0 → commandagi-0.6.1}/commandagi/design/twod_schema.py +0 -0
  64. {commandagi-0.6.0 → commandagi-0.6.1}/commandagi/design/workbook_schema.py +0 -0
  65. {commandagi-0.6.0 → commandagi-0.6.1}/commandagi/gym_env.py +0 -0
  66. {commandagi-0.6.0 → commandagi-0.6.1}/commandagi/lerobot.py +0 -0
  67. {commandagi-0.6.0 → commandagi-0.6.1}/examples/drive_a_sim.py +0 -0
  68. {commandagi-0.6.0 → commandagi-0.6.1}/pyproject.toml +0 -0
  69. {commandagi-0.6.0 → commandagi-0.6.1}/tests/test_business.py +0 -0
  70. {commandagi-0.6.0 → commandagi-0.6.1}/tests/test_design.py +0 -0
  71. {commandagi-0.6.0 → commandagi-0.6.1}/tests/test_fab.py +0 -0
  72. {commandagi-0.6.0 → commandagi-0.6.1}/tests/test_media.py +0 -0
  73. {commandagi-0.6.0 → commandagi-0.6.1}/tests/test_monitors.py +0 -0
  74. {commandagi-0.6.0 → commandagi-0.6.1}/tests/test_office.py +0 -0
  75. {commandagi-0.6.0 → commandagi-0.6.1}/tests/test_pcb.py +0 -0
  76. {commandagi-0.6.0 → commandagi-0.6.1}/tests/test_pdf.py +0 -0
  77. {commandagi-0.6.0 → commandagi-0.6.1}/tests/test_postal.py +0 -0
  78. {commandagi-0.6.0 → commandagi-0.6.1}/tests/test_sdk.py +0 -0
  79. {commandagi-0.6.0 → commandagi-0.6.1}/tests/test_source.py +0 -0
  80. {commandagi-0.6.0 → commandagi-0.6.1}/tests/test_standards.py +0 -0
  81. {commandagi-0.6.0 → commandagi-0.6.1}/tests/test_tsx.py +0 -0
  82. {commandagi-0.6.0 → commandagi-0.6.1}/tests/test_twod.py +0 -0
  83. {commandagi-0.6.0 → commandagi-0.6.1}/uv.lock +0 -0
@@ -4,6 +4,45 @@ One entry for each release. A release is the tag `v<version>` in this repository
4
4
  TypeScript and Rust SDKs carry the same version number. A version promises nothing about the next one (README
5
5
  § Versions): read this file before you change the version you pin.
6
6
 
7
+ ## 0.6.1 (2026-10-15)
8
+
9
+ Added
10
+
11
+ - Agents (`commandagi.design.agents`): a harness (`harness.py`: `harness(kind=…, label=…, provider=…, runs=[…])`) and an
12
+ agent (`agent.py`: a base names its `harness`, a fork its `parent`), the same elements as the TypeScript SDK's
13
+ `agents.ts`. A realtime harness says what its model takes and gives live: `realtime={"in": […], "out": […], "audio":
14
+ {"in": […], "out": […]}, "fps": …, "hz": …, "minutes": …, "videoMinutes": …}`.
15
+ - Test plans (`commandagi.design.testplans`): a `<name>.testplan.py` holds the steps that test one serial-numbered
16
+ unit, never the results: `testplan(title=…, device=…)` with `condition`, `fixture` and `step`, the same elements as
17
+ the TypeScript SDK's `testplans.ts`.
18
+ - Firmware (`commandagi.design.firmware`): a release (`<name>.firmware.py`: `firmware(version=…, image=…, sha256=…,
19
+ sbom=…, device=…)` with `supports(revision=…)`) and a rollout (`<name>.rollout.py`: `rollout(firmware=…, world=…,
20
+ channel=…, canary=…, waves=[…])` with `health` and `target`), as the TypeScript SDK's `firmware.ts`. A `sha256` that
21
+ is not 64 lowercase hex digits is refused.
22
+ - A world's unit states its `serial` and its hardware `revision`.
23
+ - Tolerances. `parameter(tolerance=…)` and `hole(tolerance=…)` take `{"upper", "lower"}` (mm), `{"class": "H7"}` (an
24
+ ISO 286 class or `ISO 492 bore|outside|width`) or `{"basic": True}`; a tolerance given two ways is refused.
25
+ `commandagi.design.tolerances`: `tolerance_limits(nominal, tol)` and `fit_of(hole, shaft)`, the classes read from
26
+ the shipped tables (`TOLERANCE_TABLES`). `check(kind="fit", hole=, shaft=, intent=)` and `check(kind="stackup",
27
+ chain=, limit=, method=, samples=, seed=)` are checks of a 3D document (`kernel.check`).
28
+ - A hardware release and a change (`release()`, `change()`): the record of what a release of a design holds, a change
29
+ proposal's change, and the release a unit or an instance was built from. A definition names its firmware and
30
+ revision; `firmware()` also declares the channels a firmware gives.
31
+ - Logistics (`part_fields.py`): a schematic part's `suppliers`, `alternates`, `datasheet`, `lifecycle`, `compliance`
32
+ and `shipping`, each KiCad properties of the part, on schematic parts and `component()`; `check(options=)`; a
33
+ board's `fab()`; a 3D document's `item()` and `assemble()`. A body with `process="reference"` (a fit proxy) is out
34
+ of the BOM and the logistics checks.
35
+ - Systems (`commandagi.design.systems`): requirements, a system's budgets (a cost budget names the design whose
36
+ logistics roll-up it reads, `design=`) and an interface, as the TypeScript SDK's.
37
+ - A flow study (`study(kind="flow")`: `fluid`, `inlet`, `outlet`, `flow_mesh`; units m-kg-s).
38
+ - `kernel.dfm`: the manufacturability checks of a part; `kernel.check` takes devices. The slicer kernel (places:
39
+ local, then cloud).
40
+ - `eda.export_kicad` (`pcb_export_kicad`): the board as a KiCad project.
41
+ - Drawing sheets: section and detail views in the schema; a sheet with a section view and no section, or a bad
42
+ detail, is refused.
43
+ - A part's pinout and pads are checked: `pinout_verified`, `footprint_verified` and `package_dimensions` are part
44
+ fields. A material grade states its Poisson's ratio where its source states one.
45
+
7
46
  ## 0.6.0 (2026-10-15)
8
47
 
9
48
  Read **Removed** first: a script that calls `eda.autoroute` stops with `unknown tool` on the platform today, with 0.5.1
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: commandagi
3
- Version: 0.6.0
3
+ Version: 0.6.1
4
4
  Summary: The CommandAGI SDK for Python — agent threads, memory and integrations, and live computers, robots and simulated worlds you watch and control.
5
5
  Project-URL: Homepage, https://commandagi.com
6
6
  Project-URL: Documentation, https://github.com/CommandAGI/commandagi-sdk-python/blob/main/README.md
@@ -122,6 +122,8 @@ vocabulary, one function per tag, named by the tag:
122
122
  | `commandagi.design.threed` | a 3D part or assembly |
123
123
  | `commandagi.design.fab` | a machining setup (`cam`), a slicing setup (`slicing`) |
124
124
  | `commandagi.design.study` | a study of a part (`study`: material, fixtures, load cases, mesh, criteria, revise; docs/formats.md § studies) |
125
+ | `commandagi.design.testplans` | a test plan (`testplan`: conditions, fixtures, steps) |
126
+ | `commandagi.design.firmware` | a firmware release (`firmware`: supported revisions), a rollout (`rollout`: health checks, targets) |
125
127
  | `commandagi.design.office` | a workbook, a page, a deck |
126
128
  | `commandagi.design.twod` | a drawing, a painting, a photo, a nest |
127
129
  | `commandagi.design.media` | a video (clips, `composition(src="Intro.vid.py")`: another video drawn live from its own code, `artboard(src="Poster.draw.py")`: a drawing's page drawn live), a song |
@@ -129,6 +131,7 @@ vocabulary, one function per tag, named by the tag:
129
131
  | `commandagi.design.business` | a company, an RFC, a case |
130
132
  | `commandagi.design.tasks` | a task, a project |
131
133
  | `commandagi.design.monitors` | a monitor (`monitor.py`, in the folder of the thing it follows) |
134
+ | `commandagi.design.agents` | an agent harness (`harness.py`; `realtime`: what its model takes and gives live), an agent (`agent.py`: a base or a fork) |
132
135
  | `commandagi.design.records` | a contract, a product instance |
133
136
  | `commandagi.design.postal` | a letter, a postcard |
134
137
  | `commandagi.design.pdf` | a PDF assembled from pages, comments, stamps, signatures, redactions, fields and bookmarks |
@@ -250,6 +253,12 @@ graph (`run_module(...)["graph"]`) or the graph's JSON text. An entity is `{"bod
250
253
  under the name its `externalPart` gives.
251
254
  - **A STEP file names its parts**: each body is a product of its part's name, an assembly the product they are
252
255
  components of.
256
+ - **`dfm(doc, process="print" | "mill", limits=…, setup=…)`** says whether a machine can make the part: `limits` are a
257
+ device definition's `process["print"]` or `process["mill"]`, `setup={"tools": [{"diameter_mm": 3.175}]}` the mill's
258
+ tools. Each finding is `pass`, `fail` or `unknown` (never `pass` when a limit or a tool is missing) with its value,
259
+ limit and `where` (the body, the B-rep `faces`, a point); `verdict` sums them.
260
+ - **`check(doc, devices=…)`**: a `check(kind="printability" | "mill", options={"device": ref})` reads its limits from
261
+ `devices`, `{ref: {"process": …}}`, the definitions you read; without them the check is skipped and says why.
253
262
 
254
263
  ## Reinforcement learning
255
264
 
@@ -270,7 +279,7 @@ graph (`run_module(...)["graph"]`) or the graph's JSON text. An entity is `{"bod
270
279
  ## Versions
271
280
 
272
281
  - A release is the tag `v<version>` in this repository and the same version on PyPI. Pin an exact version:
273
- `commandagi==0.6.0`. A range (`^`, `~=`, `>=`) takes the next release without asking you.
282
+ `commandagi==0.6.1`. A range (`^`, `~=`, `>=`) takes the next release without asking you.
274
283
  - The three SDKs (Python, TypeScript, Rust) carry one version number. A vocabulary at version X in one language is
275
284
  the vocabulary at version X in the others.
276
285
  - A version promises nothing about the next one. CommandAGI keeps no compatibility layers: a release may rename or
@@ -94,6 +94,8 @@ vocabulary, one function per tag, named by the tag:
94
94
  | `commandagi.design.threed` | a 3D part or assembly |
95
95
  | `commandagi.design.fab` | a machining setup (`cam`), a slicing setup (`slicing`) |
96
96
  | `commandagi.design.study` | a study of a part (`study`: material, fixtures, load cases, mesh, criteria, revise; docs/formats.md § studies) |
97
+ | `commandagi.design.testplans` | a test plan (`testplan`: conditions, fixtures, steps) |
98
+ | `commandagi.design.firmware` | a firmware release (`firmware`: supported revisions), a rollout (`rollout`: health checks, targets) |
97
99
  | `commandagi.design.office` | a workbook, a page, a deck |
98
100
  | `commandagi.design.twod` | a drawing, a painting, a photo, a nest |
99
101
  | `commandagi.design.media` | a video (clips, `composition(src="Intro.vid.py")`: another video drawn live from its own code, `artboard(src="Poster.draw.py")`: a drawing's page drawn live), a song |
@@ -101,6 +103,7 @@ vocabulary, one function per tag, named by the tag:
101
103
  | `commandagi.design.business` | a company, an RFC, a case |
102
104
  | `commandagi.design.tasks` | a task, a project |
103
105
  | `commandagi.design.monitors` | a monitor (`monitor.py`, in the folder of the thing it follows) |
106
+ | `commandagi.design.agents` | an agent harness (`harness.py`; `realtime`: what its model takes and gives live), an agent (`agent.py`: a base or a fork) |
104
107
  | `commandagi.design.records` | a contract, a product instance |
105
108
  | `commandagi.design.postal` | a letter, a postcard |
106
109
  | `commandagi.design.pdf` | a PDF assembled from pages, comments, stamps, signatures, redactions, fields and bookmarks |
@@ -222,6 +225,12 @@ graph (`run_module(...)["graph"]`) or the graph's JSON text. An entity is `{"bod
222
225
  under the name its `externalPart` gives.
223
226
  - **A STEP file names its parts**: each body is a product of its part's name, an assembly the product they are
224
227
  components of.
228
+ - **`dfm(doc, process="print" | "mill", limits=…, setup=…)`** says whether a machine can make the part: `limits` are a
229
+ device definition's `process["print"]` or `process["mill"]`, `setup={"tools": [{"diameter_mm": 3.175}]}` the mill's
230
+ tools. Each finding is `pass`, `fail` or `unknown` (never `pass` when a limit or a tool is missing) with its value,
231
+ limit and `where` (the body, the B-rep `faces`, a point); `verdict` sums them.
232
+ - **`check(doc, devices=…)`**: a `check(kind="printability" | "mill", options={"device": ref})` reads its limits from
233
+ `devices`, `{ref: {"process": …}}`, the definitions you read; without them the check is skipped and says why.
225
234
 
226
235
  ## Reinforcement learning
227
236
 
@@ -242,7 +251,7 @@ graph (`run_module(...)["graph"]`) or the graph's JSON text. An entity is `{"bod
242
251
  ## Versions
243
252
 
244
253
  - A release is the tag `v<version>` in this repository and the same version on PyPI. Pin an exact version:
245
- `commandagi==0.6.0`. A range (`^`, `~=`, `>=`) takes the next release without asking you.
254
+ `commandagi==0.6.1`. A range (`^`, `~=`, `>=`) takes the next release without asking you.
246
255
  - The three SDKs (Python, TypeScript, Rust) carry one version number. A vocabulary at version X in one language is
247
256
  the vocabulary at version X in the others.
248
257
  - A version promises nothing about the next one. CommandAGI keeps no compatibility layers: a release may rename or
@@ -60,4 +60,4 @@ __all__ = [
60
60
  "ENV_THREAD_ID",
61
61
  "DEFAULT_BASE_URL",
62
62
  ]
63
- __version__ = "0.6.0"
63
+ __version__ = "0.6.1"
@@ -12,7 +12,7 @@ ENV_THREAD_ID = "COMMANDAGI_THREAD_ID"
12
12
  DEFAULT_BASE_URL = "https://api.commandagi.com"
13
13
 
14
14
  #: The composed, language-neutral schema every SDK is generated from.
15
- SDK_SCHEMA: Dict[str, Any] = json.loads("{\"$comment\":\"GENERATED by scripts/sdk/generate-sdks.mts from the CommandAGI SDK schema — do not edit by hand.\",\"version\":1,\"env\":{\"apiKey\":\"COMMANDAGI_API_KEY\",\"baseUrl\":\"COMMANDAGI_BASE_URL\",\"threadId\":\"COMMANDAGI_THREAD_ID\"},\"defaultBaseUrl\":\"https://api.commandagi.com\",\"tools\":{\"transport\":\"POST {baseUrl}/mcp — JSON-RPC 2.0 `tools/call` {name, arguments}, `authorization: Bearer {apiKey}`; the result's text content is JSON. `call(tool, args)` reaches ANY platform tool by name.\",\"root\":[{\"name\":\"constraints\",\"tool\":\"agent_constraints\",\"doc\":\"Inspect or impose an immutable device-action state machine for this thread's agent.\",\"params\":[{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":true},{\"name\":\"whoami\",\"tool\":\"whoami\",\"doc\":\"The account this key belongs to.\",\"params\":[],\"bound\":{},\"withThread\":false},{\"name\":\"search\",\"tool\":\"search_tools\",\"doc\":\"Search the whole tool catalog by keyword.\",\"params\":[{\"name\":\"query\",\"key\":\"query\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"join\"},{\"name\":\"limit\",\"key\":\"limit\",\"type\":\"integer\",\"required\":false,\"spread\":false,\"prefix\":null,\"cli\":\"flag\"}],\"bound\":{},\"withThread\":false},{\"name\":\"run\",\"tool\":\"run_code\",\"doc\":\"Run a snippet server-side (JavaScript / TypeScript / Python).\",\"params\":[{\"name\":\"code\",\"key\":\"code\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"file\"},{\"name\":\"language\",\"key\":\"language\",\"type\":\"string\",\"required\":false,\"spread\":false,\"prefix\":null,\"cli\":\"language\"},{\"name\":\"threadId\",\"key\":\"threadId\",\"type\":\"string\",\"required\":false,\"spread\":false,\"prefix\":null,\"cli\":\"flag\"}],\"bound\":{},\"withThread\":true},{\"name\":\"post\",\"tool\":\"post\",\"doc\":\"Publish a file to a connected social account.\",\"params\":[{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false}],\"namespaces\":[{\"name\":\"computer\",\"doc\":\"Computer input with per-action authority and private variable references.\",\"factory\":null,\"methods\":[{\"name\":\"screenshot\",\"tool\":\"computer_screenshot\",\"doc\":\"Observe the computer's current screen.\",\"params\":[{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":true},{\"name\":\"act\",\"tool\":\"computer_act\",\"doc\":\"One action/payload or an ordered actions array. Stops on first failure. Type a granted variable with text: '${env:NAME}'.\",\"params\":[{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":true}]},{\"name\":\"threads\",\"doc\":\"Agent threads — the unit of work.\",\"factory\":null,\"methods\":[{\"name\":\"list\",\"tool\":\"list_threads\",\"doc\":\"Your threads.\",\"params\":[],\"bound\":{},\"withThread\":false},{\"name\":\"get\",\"tool\":\"get_thread\",\"doc\":\"One thread's detail.\",\"params\":[{\"name\":\"threadId\",\"key\":\"threadId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"}],\"bound\":{},\"withThread\":false},{\"name\":\"create\",\"tool\":\"create_thread\",\"doc\":\"Spawn a thread: {intent, snapshotId?, …}, or {agentless: true, snapshotId} for a world you drive.\",\"params\":[{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false},{\"name\":\"send\",\"tool\":\"send_message\",\"doc\":\"Message a thread.\",\"params\":[{\"name\":\"threadId\",\"key\":\"threadId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"text\",\"key\":\"text\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"join\"}],\"bound\":{},\"withThread\":false},{\"name\":\"events\",\"tool\":\"thread_events\",\"doc\":\"A thread's event log.\",\"params\":[{\"name\":\"threadId\",\"key\":\"threadId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"}],\"bound\":{},\"withThread\":false},{\"name\":\"kill\",\"tool\":\"kill_process\",\"doc\":\"Stop a thread's run (the thread itself persists).\",\"params\":[{\"name\":\"threadId\",\"key\":\"pid\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":\"thread:\",\"cli\":\"positional\"}],\"bound\":{},\"withThread\":false}]},{\"name\":\"embodiments\",\"doc\":\"Computers, cameras, robots and sims attached to a thread.\",\"factory\":null,\"methods\":[{\"name\":\"list\",\"tool\":\"list_embodiments\",\"doc\":\"Attached embodiments.\",\"params\":[],\"bound\":{},\"withThread\":false},{\"name\":\"launch\",\"tool\":\"launch_embodiment\",\"doc\":\"Launch an embodiment into the thread: {kind?, snapshotId?, fromSnapshotId?}.\",\"params\":[{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":true},{\"name\":\"observe\",\"tool\":\"observe\",\"doc\":\"The thread's observation plane: stream channels and the latest frame per embodiment.\",\"params\":[{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":true},{\"name\":\"controls\",\"tool\":\"list_controls\",\"doc\":\"What an embodiment can be driven with right now: channels, actions, payload schemas.\",\"params\":[{\"name\":\"embodimentId\",\"key\":\"embodimentId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"threadId\",\"key\":\"threadId\",\"type\":\"string\",\"required\":false,\"spread\":false,\"prefix\":null,\"cli\":\"flag\"}],\"bound\":{},\"withThread\":true},{\"name\":\"act\",\"tool\":\"act\",\"doc\":\"Drive an embodiment with one declared action (see controls).\",\"params\":[{\"name\":\"embodimentId\",\"key\":\"embodimentId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"action\",\"key\":\"action\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"payload\",\"key\":\"payload\",\"type\":\"object\",\"required\":false,\"spread\":false,\"prefix\":null,\"cli\":\"json\"},{\"name\":\"threadId\",\"key\":\"threadId\",\"type\":\"string\",\"required\":false,\"spread\":false,\"prefix\":null,\"cli\":\"flag\"}],\"bound\":{},\"withThread\":true},{\"name\":\"describe\",\"tool\":\"describe_world\",\"doc\":\"The live sim/robot world: robots, objects and poses the runtime reports.\",\"params\":[{\"name\":\"threadId\",\"key\":\"threadId\",\"type\":\"string\",\"required\":false,\"spread\":false,\"prefix\":null,\"cli\":\"flag\"}],\"bound\":{},\"withThread\":true}]},{\"name\":\"billing\",\"doc\":\"Resold third-party services, charged at the provider's price (docs/billing.md).\",\"factory\":null,\"methods\":[{\"name\":\"prices\",\"tool\":\"quote_passthrough\",\"doc\":\"Every pass-through price, with its source and date.\",\"params\":[],\"bound\":{},\"withThread\":false},{\"name\":\"quote\",\"tool\":\"quote_passthrough\",\"doc\":\"What a service costs before you buy it: {price: \\\"twilio/us-sms\\\", months?, units?, oneTime?}.\",\"params\":[{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false},{\"name\":\"charges\",\"tool\":\"list_passthrough_charges\",\"doc\":\"The account's pass-through line items, monthly items and balance.\",\"params\":[{\"name\":\"limit\",\"key\":\"limit\",\"type\":\"integer\",\"required\":false,\"spread\":false,\"prefix\":null,\"cli\":\"flag\"}],\"bound\":{},\"withThread\":false}]},{\"name\":\"memory\",\"doc\":\"The agent's durable memory: markdown files under memories/ in the thread's drive.\",\"factory\":null,\"methods\":[{\"name\":\"search\",\"tool\":\"memory_search\",\"doc\":\"Recall by query (the drive's content index over memories/).\",\"params\":[{\"name\":\"query\",\"key\":\"q\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"join\"}],\"bound\":{},\"withThread\":false},{\"name\":\"remember\",\"tool\":\"memory_remember\",\"doc\":\"Write a memory file.\",\"params\":[{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false},{\"name\":\"forget\",\"tool\":\"memory_forget\",\"doc\":\"Delete a memory file by its path.\",\"params\":[{\"name\":\"path\",\"key\":\"path\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"}],\"bound\":{},\"withThread\":false}]},{\"name\":\"integrations\",\"doc\":\"Connected third-party accounts.\",\"factory\":null,\"methods\":[{\"name\":\"list\",\"tool\":\"list_integrations\",\"doc\":\"What's connected.\",\"params\":[],\"bound\":{},\"withThread\":false},{\"name\":\"call\",\"tool\":\"integration_call\",\"doc\":\"Drive a provider's API (method/path/query/body).\",\"params\":[{\"name\":\"integration\",\"key\":\"integration\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false}]},{\"name\":\"web\",\"doc\":\"Web search through many providers, one shape (docs/search.md): each result names who returned it; each call says what it cost.\",\"factory\":null,\"methods\":[{\"name\":\"search\",\"tool\":\"web_search\",\"doc\":\"Search: kind search | news | academic | code | social | images | video; provider, limit, since, domains … in opts.\",\"params\":[{\"name\":\"query\",\"key\":\"query\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"join\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false},{\"name\":\"fetch\",\"tool\":\"web_fetch\",\"doc\":\"One page as clean text.\",\"params\":[{\"name\":\"url\",\"key\":\"url\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false},{\"name\":\"crawl\",\"tool\":\"web_crawl\",\"doc\":\"Many pages of one site (pages in opts).\",\"params\":[{\"name\":\"url\",\"key\":\"url\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false},{\"name\":\"answer\",\"tool\":\"web_answer\",\"doc\":\"An answer with citations; depth research for a long report.\",\"params\":[{\"name\":\"question\",\"key\":\"question\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"join\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false},{\"name\":\"providers\",\"tool\":\"web_providers\",\"doc\":\"The providers: what each offers and costs, and whether you can call it.\",\"params\":[],\"bound\":{},\"withThread\":false}]},{\"name\":\"postal\",\"doc\":\"Paper mail (docs/postal.md): letters from a .letter.tsx and postcards from a .postcard.tsx in your files, and mailboxes that receive and scan mail.\",\"factory\":null,\"methods\":[{\"name\":\"quote\",\"tool\":\"postal_quote\",\"doc\":\"What mailing the letter or postcard would cost, and how it would go (its choices: the providers that can mail it). Costs nothing.\",\"params\":[{\"name\":\"source\",\"key\":\"source\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\",\"options\":{\"provider\":{\"type\":\"string\",\"enum\":[\"lob\",\"click2mail\"],\"doc\":\"Who prints and posts it: lob (the default; the US and every other country) or click2mail (US only). Omitted: automatic, the best provider for the destination in the account's postal.providers order, Lob first.\"},\"ownerId\":{\"type\":\"string\",\"enum\":null,\"doc\":\"An organisation's id, to act for it. Omitted: your own account.\"}}}],\"bound\":{},\"withThread\":false},{\"name\":\"send\",\"tool\":\"postal_send\",\"doc\":\"Mail the letter or postcard: charged first, recorded before it is sent, never retried. An agent needs a postal grant.\",\"params\":[{\"name\":\"source\",\"key\":\"source\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\",\"options\":{\"provider\":{\"type\":\"string\",\"enum\":[\"lob\",\"click2mail\"],\"doc\":\"Who prints and posts it: lob (the default; the US and every other country) or click2mail (US only). Omitted: automatic, the best provider for the destination in the account's postal.providers order, Lob first.\"},\"ownerId\":{\"type\":\"string\",\"enum\":null,\"doc\":\"An organisation's id, to act for it. Omitted: your own account.\"}}}],\"bound\":{},\"withThread\":false},{\"name\":\"status\",\"tool\":\"postal_status\",\"doc\":\"A sent piece's state and records; without a piece, the sent pieces.\",\"params\":[{\"name\":\"piece\",\"key\":\"piece\",\"type\":\"string\",\"required\":false,\"spread\":false,\"prefix\":null,\"cli\":\"flag\"}],\"bound\":{},\"withThread\":false},{\"name\":\"cancel\",\"tool\":\"postal_cancel\",\"doc\":\"Cancel a piece before it is printed; the charge comes back.\",\"params\":[{\"name\":\"piece\",\"key\":\"piece\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"}],\"bound\":{},\"withThread\":false},{\"name\":\"inbox\",\"tool\":\"postal_inbox\",\"doc\":\"Your mailboxes, or one mailbox's received pieces with their scans.\",\"params\":[{\"name\":\"mailbox\",\"key\":\"mailbox\",\"type\":\"string\",\"required\":false,\"spread\":false,\"prefix\":null,\"cli\":\"flag\"}],\"bound\":{},\"withThread\":false}]},{\"name\":\"social\",\"doc\":\"A single connected social account, bound: cagi.social('tiktok', '@brand').post(fileId).\",\"factory\":[{\"name\":\"platform\",\"key\":\"platform\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"account\",\"key\":\"account\",\"type\":\"string\",\"required\":false,\"spread\":false,\"prefix\":null,\"cli\":\"flag\"}],\"methods\":[{\"name\":\"post\",\"tool\":\"post\",\"doc\":\"Publish a stored file to this account.\",\"params\":[{\"name\":\"fileId\",\"key\":\"fileId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{\"integration\":\"platform\",\"account\":\"account\"},\"withThread\":false},{\"name\":\"call\",\"tool\":\"integration_call\",\"doc\":\"Raw API call as this account.\",\"params\":[{\"name\":\"method\",\"key\":\"method\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"path\",\"key\":\"path\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{\"integration\":\"platform\",\"account\":\"account\"},\"withThread\":false}]},{\"name\":\"phone\",\"doc\":\"The account's phone lines (docs/phone.md). An agent texts and calls only under a phone grant its owner made.\",\"factory\":null,\"methods\":[{\"name\":\"lines\",\"tool\":\"list_phone_lines\",\"doc\":\"The lines you own or may use.\",\"params\":[{\"name\":\"ownerId\",\"key\":\"ownerId\",\"type\":\"string\",\"required\":false,\"spread\":false,\"prefix\":null,\"cli\":\"flag\"}],\"bound\":{},\"withThread\":false},{\"name\":\"conversations\",\"tool\":\"list_phone_conversations\",\"doc\":\"A line's conversations, newest first.\",\"params\":[{\"name\":\"lineId\",\"key\":\"lineId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"}],\"bound\":{},\"withThread\":false},{\"name\":\"read\",\"tool\":\"read_phone_conversation\",\"doc\":\"One conversation's records (phone/<line>/<correspondent>.jsonl); `after` is a record id or an ISO time.\",\"params\":[{\"name\":\"lineId\",\"key\":\"lineId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"correspondent\",\"key\":\"correspondent\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"after\",\"key\":\"after\",\"type\":\"string\",\"required\":false,\"spread\":false,\"prefix\":null,\"cli\":\"flag\"}],\"bound\":{},\"withThread\":false},{\"name\":\"quote\",\"tool\":\"quote_phone_number\",\"doc\":\"What buying a number charges now, monthly and per use. Buys nothing.\",\"params\":[{\"name\":\"e164\",\"key\":\"e164\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"country\",\"key\":\"country\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"provider\",\"key\":\"provider\",\"type\":\"string\",\"required\":false,\"spread\":false,\"prefix\":null,\"cli\":\"flag\"}],\"bound\":{},\"withThread\":false},{\"name\":\"text\",\"tool\":\"send_text\",\"doc\":\"Send a text (an MMS with drive-file media). Recorded before it is sent; never retried.\",\"params\":[{\"name\":\"lineId\",\"key\":\"lineId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"to\",\"key\":\"to\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"body\",\"key\":\"body\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"media\",\"key\":\"media\",\"type\":\"array\",\"required\":false,\"spread\":false,\"prefix\":null,\"cli\":\"json\"}],\"bound\":{},\"withThread\":false},{\"name\":\"call\",\"tool\":\"place_call\",\"doc\":\"Click-to-call: ring the line's forward-to number (or a number your grant lists), then connect to `to`.\",\"params\":[{\"name\":\"lineId\",\"key\":\"lineId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"to\",\"key\":\"to\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"bridgeTo\",\"key\":\"bridgeTo\",\"type\":\"string\",\"required\":false,\"spread\":false,\"prefix\":null,\"cli\":\"flag\"}],\"bound\":{},\"withThread\":false}]},{\"name\":\"vpn\",\"doc\":\"The VPN overlay (docs/vpn.md): its nodes and exits, and egress from an exit's address.\",\"factory\":null,\"methods\":[{\"name\":\"status\",\"tool\":\"vpn_status\",\"doc\":\"The account's nodes, the exits it may use, the ACL and the exit grants.\",\"params\":[],\"bound\":{},\"withThread\":false},{\"name\":\"fetch\",\"tool\":\"vpn_fetch\",\"doc\":\"Fetch a URL from a VPN exit's address (method, headers, body, exit in opts); refused without an exit grant.\",\"params\":[{\"name\":\"url\",\"key\":\"url\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false}]},{\"name\":\"eda\",\"doc\":\"A circuit in code (docs/eda-authoring.md): check it, route it and make its files with no editor open. fileId is the Drive id of its schematic (.sch.tsx, .sch.py, .sch.rs) or of its board (.pcb.tsx, .pcb.py, .pcb.rs).\",\"factory\":null,\"methods\":[{\"name\":\"erc\",\"tool\":\"sch_erc\",\"doc\":\"Electrical rule check of the schematic: each violation with its rule, severity, pins, and the code elements (file, line) that declare them. CommandAGI's rules over the netlist, not KiCad's ERC. `warnings: false` lists the errors only.\",\"params\":[{\"name\":\"fileId\",\"key\":\"fileId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false},{\"name\":\"drc\",\"tool\":\"pcb_drc\",\"doc\":\"Design rule check of the board: each violation with the code elements it is about. A rule given in opts (clearance, trackWidth …) replaces the board's.\",\"params\":[{\"name\":\"fileId\",\"key\":\"fileId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false},{\"name\":\"netlist\",\"tool\":\"sch_netlist\",\"doc\":\"The circuit's parts, pins and nets, as the schematic states them.\",\"params\":[{\"name\":\"fileId\",\"key\":\"fileId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"}],\"bound\":{},\"withThread\":false},{\"name\":\"fabricate\",\"tool\":\"pcb_fabricate\",\"doc\":\"The manufacturing files of the board (Gerber layers, drill files, bill of materials, pick-and-place); `omitted` names what a file leaves out.\",\"params\":[{\"name\":\"fileId\",\"key\":\"fileId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false},{\"name\":\"model3d\",\"tool\":\"pcb_model3d\",\"doc\":\"The board as a 3D model (format: step or obj). The STEP is an assembly: the board with its holes, each part's own model where its footprint names one in the drive, else a bounding body that says so.\",\"params\":[{\"name\":\"fileId\",\"key\":\"fileId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false},{\"name\":\"layout\",\"tool\":\"pcb_layout\",\"doc\":\"Lay out the board by its constraints (<netclass>, <group>, <keepout> …): place the parts with no place, route every net with its class's rules, check, repair, score; again until clean or the budget (budgetMinutes) is spent. Writes the placements and copper into the board's code and says each attempt.\",\"params\":[{\"name\":\"fileId\",\"key\":\"fileId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false},{\"name\":\"layoutScore\",\"tool\":\"pcb_layout_score\",\"doc\":\"Every term of the board's layout objective (unrouted, DRC errors, overlaps, keep-outs, regions, wire length, vias …) with its weight, the weighted total, and each layout check's verdict.\",\"params\":[{\"name\":\"fileId\",\"key\":\"fileId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false},{\"name\":\"checkLayout\",\"tool\":\"pcb_check_layout\",\"doc\":\"The layout checks' findings (placed, routed, DRC with the net classes, courtyards, keep-outs, regions, near, width, length, vias, skew, heat, octolinear, detour, return path): what, where, on which part or net.\",\"params\":[{\"name\":\"fileId\",\"key\":\"fileId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false},{\"name\":\"constrain\",\"tool\":\"pcb_constrain\",\"doc\":\"Set or remove one constraint of the board ({ constraint: \\\"netclass\\\", name, attributes: { nets, width, … } }); written into the board's code as its element.\",\"params\":[{\"name\":\"fileId\",\"key\":\"fileId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false},{\"name\":\"placeGroup\",\"tool\":\"pcb_place_group\",\"doc\":\"Place the parts of one group ({ group } or { parts }) by the constraint model; the copper of their nets is ripped up, to be routed again.\",\"params\":[{\"name\":\"fileId\",\"key\":\"fileId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false},{\"name\":\"routeNets\",\"tool\":\"pcb_route_nets\",\"doc\":\"Route what is open of the nets named ({ nets }; all when none) with their net classes' rules, from the copper they have, on the copper layers given ({ layers }; default the two outer layers, through vias), and write the traces into the board's code. { ripUp: true } removes the nets' copper first. The result names each connection left unrouted; `complete` is false while one is.\",\"params\":[{\"name\":\"fileId\",\"key\":\"fileId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false},{\"name\":\"ripUp\",\"tool\":\"pcb_rip_up\",\"doc\":\"Remove the tracks and vias of the nets named ({ nets }).\",\"params\":[{\"name\":\"fileId\",\"key\":\"fileId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false}]}]},\"session\":{\"transport\":\"Frames: WebSocket {baseUrl→ws}/rt/thread/{threadId}?token={apiKey}; server messages `frame` {embodimentId, channelId, url} carry the latest image (a data: URL or an https URL fetched with the same bearer). Control: every vocabulary method is `embodiments.act(embodimentId, action, payload)` — the thread resolves the action against what that embodiment live-declares (embodiments.controls).\",\"vocabularies\":[{\"name\":\"desktop\",\"doc\":\"Computers — pointer, keyboard and waits, in pixels of the latest frame (docs/computer-use.md).\",\"actions\":[{\"name\":\"click\",\"channelId\":\"computer\",\"label\":\"Computer. Coordinates are pixels of the latest frame of this computer (0,0 top left); take a screenshot first.\",\"schema\":{\"type\":\"object\",\"properties\":{\"x\":{\"type\":\"number\",\"description\":\"pixel column of the latest frame\",\"minimum\":0},\"y\":{\"type\":\"number\",\"description\":\"pixel row of the latest frame\",\"minimum\":0},\"mods\":{\"type\":\"string\",\"maxLength\":40,\"description\":\"modifiers held during the action: shift, ctrl, alt, super, joined by +\"},\"basis\":{\"type\":\"string\",\"maxLength\":10,\"description\":\"the id of the frame this action was planned on; refused as stale if the screen changed since\"}},\"required\":[\"x\",\"y\"],\"additionalProperties\":false}},{\"name\":\"double_click\",\"channelId\":\"computer\",\"label\":\"Computer. Coordinates are pixels of the latest frame of this computer (0,0 top left); take a screenshot first.\",\"schema\":{\"type\":\"object\",\"properties\":{\"x\":{\"type\":\"number\",\"description\":\"pixel column of the latest frame\",\"minimum\":0},\"y\":{\"type\":\"number\",\"description\":\"pixel row of the latest frame\",\"minimum\":0},\"mods\":{\"type\":\"string\",\"maxLength\":40,\"description\":\"modifiers held during the action: shift, ctrl, alt, super, joined by +\"},\"basis\":{\"type\":\"string\",\"maxLength\":10,\"description\":\"the id of the frame this action was planned on; refused as stale if the screen changed since\"}},\"required\":[\"x\",\"y\"],\"additionalProperties\":false}},{\"name\":\"triple_click\",\"channelId\":\"computer\",\"label\":\"Computer. Coordinates are pixels of the latest frame of this computer (0,0 top left); take a screenshot first.\",\"schema\":{\"type\":\"object\",\"properties\":{\"x\":{\"type\":\"number\",\"description\":\"pixel column of the latest frame\",\"minimum\":0},\"y\":{\"type\":\"number\",\"description\":\"pixel row of the latest frame\",\"minimum\":0},\"mods\":{\"type\":\"string\",\"maxLength\":40,\"description\":\"modifiers held during the action: shift, ctrl, alt, super, joined by +\"},\"basis\":{\"type\":\"string\",\"maxLength\":10,\"description\":\"the id of the frame this action was planned on; refused as stale if the screen changed since\"}},\"required\":[\"x\",\"y\"],\"additionalProperties\":false}},{\"name\":\"right_click\",\"channelId\":\"computer\",\"label\":\"Computer. Coordinates are pixels of the latest frame of this computer (0,0 top left); take a screenshot first.\",\"schema\":{\"type\":\"object\",\"properties\":{\"x\":{\"type\":\"number\",\"description\":\"pixel column of the latest frame\",\"minimum\":0},\"y\":{\"type\":\"number\",\"description\":\"pixel row of the latest frame\",\"minimum\":0},\"mods\":{\"type\":\"string\",\"maxLength\":40,\"description\":\"modifiers held during the action: shift, ctrl, alt, super, joined by +\"},\"basis\":{\"type\":\"string\",\"maxLength\":10,\"description\":\"the id of the frame this action was planned on; refused as stale if the screen changed since\"}},\"required\":[\"x\",\"y\"],\"additionalProperties\":false}},{\"name\":\"middle_click\",\"channelId\":\"computer\",\"label\":\"Computer. Coordinates are pixels of the latest frame of this computer (0,0 top left); take a screenshot first.\",\"schema\":{\"type\":\"object\",\"properties\":{\"x\":{\"type\":\"number\",\"description\":\"pixel column of the latest frame\",\"minimum\":0},\"y\":{\"type\":\"number\",\"description\":\"pixel row of the latest frame\",\"minimum\":0},\"mods\":{\"type\":\"string\",\"maxLength\":40,\"description\":\"modifiers held during the action: shift, ctrl, alt, super, joined by +\"},\"basis\":{\"type\":\"string\",\"maxLength\":10,\"description\":\"the id of the frame this action was planned on; refused as stale if the screen changed since\"}},\"required\":[\"x\",\"y\"],\"additionalProperties\":false}},{\"name\":\"move\",\"channelId\":\"computer\",\"label\":\"Computer. Coordinates are pixels of the latest frame of this computer (0,0 top left); take a screenshot first.\",\"schema\":{\"type\":\"object\",\"properties\":{\"x\":{\"type\":\"number\",\"description\":\"pixel column of the latest frame\",\"minimum\":0},\"y\":{\"type\":\"number\",\"description\":\"pixel row of the latest frame\",\"minimum\":0},\"basis\":{\"type\":\"string\",\"maxLength\":10,\"description\":\"the id of the frame this action was planned on; refused as stale if the screen changed since\"}},\"required\":[\"x\",\"y\"],\"additionalProperties\":false}},{\"name\":\"drag\",\"channelId\":\"computer\",\"label\":\"Computer. Coordinates are pixels of the latest frame of this computer (0,0 top left); take a screenshot first.\",\"schema\":{\"type\":\"object\",\"properties\":{\"x\":{\"type\":\"number\",\"description\":\"pixel column of the latest frame\",\"minimum\":0},\"y\":{\"type\":\"number\",\"description\":\"pixel row of the latest frame\",\"minimum\":0},\"toX\":{\"type\":\"number\",\"description\":\"pixel column of the latest frame\",\"minimum\":0},\"toY\":{\"type\":\"number\",\"description\":\"pixel row of the latest frame\",\"minimum\":0},\"mods\":{\"type\":\"string\",\"maxLength\":40,\"description\":\"modifiers held during the action: shift, ctrl, alt, super, joined by +\"},\"basis\":{\"type\":\"string\",\"maxLength\":10,\"description\":\"the id of the frame this action was planned on; refused as stale if the screen changed since\"}},\"required\":[\"x\",\"y\",\"toX\",\"toY\"],\"additionalProperties\":false}},{\"name\":\"scroll\",\"channelId\":\"computer\",\"label\":\"Computer. Coordinates are pixels of the latest frame of this computer (0,0 top left); take a screenshot first.\",\"schema\":{\"type\":\"object\",\"properties\":{\"x\":{\"type\":\"number\",\"description\":\"pixel column of the latest frame\",\"minimum\":0},\"y\":{\"type\":\"number\",\"description\":\"pixel row of the latest frame\",\"minimum\":0},\"dx\":{\"type\":\"integer\",\"minimum\":-50,\"maximum\":50},\"dy\":{\"type\":\"integer\",\"minimum\":-50,\"maximum\":50,\"description\":\"wheel notches; positive scrolls down\"},\"mods\":{\"type\":\"string\",\"maxLength\":40,\"description\":\"modifiers held during the action: shift, ctrl, alt, super, joined by +\"},\"basis\":{\"type\":\"string\",\"maxLength\":10,\"description\":\"the id of the frame this action was planned on; refused as stale if the screen changed since\"}},\"required\":[],\"additionalProperties\":false}},{\"name\":\"mouse_down\",\"channelId\":\"computer\",\"label\":\"Computer. Coordinates are pixels of the latest frame of this computer (0,0 top left); take a screenshot first.\",\"schema\":{\"type\":\"object\",\"properties\":{\"x\":{\"type\":\"number\",\"description\":\"pixel column of the latest frame\",\"minimum\":0},\"y\":{\"type\":\"number\",\"description\":\"pixel row of the latest frame\",\"minimum\":0},\"button\":{\"type\":\"string\",\"enum\":[\"left\",\"right\",\"middle\"],\"description\":\"the button (default left); it stays down until mouse_up, and stop releases it\"},\"basis\":{\"type\":\"string\",\"maxLength\":10,\"description\":\"the id of the frame this action was planned on; refused as stale if the screen changed since\"}},\"required\":[],\"additionalProperties\":false}},{\"name\":\"mouse_up\",\"channelId\":\"computer\",\"label\":\"Computer. Coordinates are pixels of the latest frame of this computer (0,0 top left); take a screenshot first.\",\"schema\":{\"type\":\"object\",\"properties\":{\"x\":{\"type\":\"number\",\"description\":\"pixel column of the latest frame\",\"minimum\":0},\"y\":{\"type\":\"number\",\"description\":\"pixel row of the latest frame\",\"minimum\":0},\"button\":{\"type\":\"string\",\"enum\":[\"left\",\"right\",\"middle\"],\"description\":\"the button (default left); it stays down until mouse_up, and stop releases it\"},\"basis\":{\"type\":\"string\",\"maxLength\":10,\"description\":\"the id of the frame this action was planned on; refused as stale if the screen changed since\"}},\"required\":[],\"additionalProperties\":false}},{\"name\":\"key\",\"channelId\":\"computer\",\"label\":\"Computer. Coordinates are pixels of the latest frame of this computer (0,0 top left); take a screenshot first.\",\"schema\":{\"type\":\"object\",\"properties\":{\"key\":{\"type\":\"string\",\"minLength\":1,\"maxLength\":64,\"description\":\"a key or a combo: enter, ctrl+l, ctrl+shift+t\"},\"basis\":{\"type\":\"string\",\"maxLength\":10,\"description\":\"the id of the frame this action was planned on; refused as stale if the screen changed since\"}},\"required\":[\"key\"],\"additionalProperties\":false}},{\"name\":\"type\",\"channelId\":\"computer\",\"label\":\"Computer. Coordinates are pixels of the latest frame of this computer (0,0 top left); take a screenshot first.\",\"schema\":{\"type\":\"object\",\"properties\":{\"text\":{\"type\":\"string\",\"minLength\":1,\"maxLength\":500},\"textRef\":{\"type\":\"string\",\"pattern\":\"^\\\\$\\\\{env:[A-Za-z_][A-Za-z0-9_]*\\\\}$\",\"description\":\"private input reference; records keep this instead of text\"},\"basis\":{\"type\":\"string\",\"maxLength\":10,\"description\":\"the id of the frame this action was planned on; refused as stale if the screen changed since\"}},\"required\":[\"text\"],\"additionalProperties\":false}},{\"name\":\"wait\",\"channelId\":\"computer\",\"label\":\"Computer. Coordinates are pixels of the latest frame of this computer (0,0 top left); take a screenshot first.\",\"schema\":{\"type\":\"object\",\"properties\":{\"ms\":{\"type\":\"integer\",\"minimum\":0,\"maximum\":10000}},\"required\":[],\"additionalProperties\":false}}]},{\"name\":\"robot\",\"doc\":\"Physical robots driven through a robot driver (joints, gripper, drive).\",\"actions\":[{\"name\":\"joint\",\"channelId\":\"ctrl\",\"label\":\"Robot driver\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1,\"maxLength\":256},\"value\":{\"type\":\"number\",\"minimum\":-1,\"maximum\":1}},\"required\":[\"name\",\"value\"],\"additionalProperties\":false}},{\"name\":\"pose\",\"channelId\":\"ctrl\",\"label\":\"Robot driver\",\"schema\":{\"type\":\"object\",\"properties\":{\"pose\":{\"type\":\"object\",\"additionalProperties\":true}},\"required\":[\"pose\"],\"additionalProperties\":false}},{\"name\":\"gripper\",\"channelId\":\"ctrl\",\"label\":\"Robot driver\",\"schema\":{\"type\":\"object\",\"properties\":{\"value\":{\"type\":\"number\",\"minimum\":-1,\"maximum\":1}},\"required\":[\"value\"],\"additionalProperties\":false}},{\"name\":\"home\",\"channelId\":\"ctrl\",\"label\":\"Robot driver\",\"schema\":{\"type\":\"object\",\"additionalProperties\":false}},{\"name\":\"reset\",\"channelId\":\"ctrl\",\"label\":\"Robot driver\",\"schema\":{\"type\":\"object\",\"additionalProperties\":false}},{\"name\":\"stop\",\"channelId\":\"ctrl\",\"label\":\"Robot driver\",\"schema\":{\"type\":\"object\",\"additionalProperties\":false}},{\"name\":\"move\",\"channelId\":\"ctrl\",\"label\":\"Robot driver\",\"schema\":{\"type\":\"object\",\"properties\":{\"value\":{\"type\":\"number\",\"minimum\":-1,\"maximum\":1}},\"additionalProperties\":false}},{\"name\":\"back\",\"channelId\":\"ctrl\",\"label\":\"Robot driver\",\"schema\":{\"type\":\"object\",\"properties\":{\"value\":{\"type\":\"number\",\"minimum\":-1,\"maximum\":1}},\"additionalProperties\":false}},{\"name\":\"turn\",\"channelId\":\"ctrl\",\"label\":\"Robot driver\",\"schema\":{\"type\":\"object\",\"properties\":{\"value\":{\"type\":\"number\",\"minimum\":-1,\"maximum\":1}},\"additionalProperties\":false}}]},{\"name\":\"sim\",\"doc\":\"Simulated worlds — lifecycle, interaction, and the robots inside them.\",\"actions\":[{\"name\":\"run\",\"channelId\":\"ctrl\",\"label\":\"Simulation lifecycle\",\"schema\":{\"type\":\"object\",\"additionalProperties\":false}},{\"name\":\"pause\",\"channelId\":\"ctrl\",\"label\":\"Simulation lifecycle\",\"schema\":{\"type\":\"object\",\"additionalProperties\":false}},{\"name\":\"step\",\"channelId\":\"ctrl\",\"label\":\"Simulation lifecycle\",\"schema\":{\"type\":\"object\",\"properties\":{\"n\":{\"type\":\"integer\",\"minimum\":1,\"maximum\":100000}},\"additionalProperties\":false}},{\"name\":\"speed\",\"channelId\":\"ctrl\",\"label\":\"Simulation lifecycle\",\"schema\":{\"type\":\"object\",\"properties\":{\"x\":{\"type\":\"number\",\"minimum\":0,\"maximum\":64}},\"required\":[\"x\"],\"additionalProperties\":false}},{\"name\":\"reset\",\"channelId\":\"ctrl\",\"label\":\"Simulation lifecycle\",\"schema\":{\"type\":\"object\",\"additionalProperties\":false}},{\"name\":\"params\",\"channelId\":\"ctrl\",\"label\":\"Simulation lifecycle\",\"schema\":{\"type\":\"object\",\"properties\":{\"values\":{\"type\":\"object\",\"additionalProperties\":true}},\"required\":[\"values\"],\"additionalProperties\":false}},{\"name\":\"load\",\"channelId\":\"ctrl\",\"label\":\"Simulation lifecycle\",\"schema\":{\"type\":\"object\",\"properties\":{\"world\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1,\"maxLength\":1024},\"kind\":{\"type\":\"string\",\"enum\":[\"simulation\"]},\"scene\":{\"type\":\"object\",\"additionalProperties\":true}},\"required\":[\"name\",\"kind\",\"scene\"],\"additionalProperties\":true}},\"required\":[\"world\"],\"additionalProperties\":false}},{\"name\":\"describe\",\"channelId\":\"ctrl\",\"label\":\"Simulation lifecycle\",\"schema\":{\"type\":\"object\",\"additionalProperties\":false}},{\"name\":\"grab\",\"channelId\":\"ctrl\",\"label\":\"Simulation force drag\",\"schema\":{\"type\":\"object\",\"properties\":{\"body\":{\"type\":\"string\",\"minLength\":1,\"maxLength\":1024},\"local\":{\"type\":\"array\",\"minItems\":3,\"maxItems\":3,\"items\":{\"type\":\"number\",\"minimum\":-1000000000,\"maximum\":1000000000}},\"target\":{\"type\":\"array\",\"minItems\":3,\"maxItems\":3,\"items\":{\"type\":\"number\",\"minimum\":-1000000000,\"maximum\":1000000000}},\"stiffness\":{\"type\":\"number\",\"minimum\":0,\"maximum\":1000000000},\"damping\":{\"type\":\"number\",\"minimum\":0,\"maximum\":1000000000},\"max_force\":{\"type\":\"number\",\"minimum\":0,\"maximum\":1000000000},\"max_speed\":{\"type\":\"number\",\"minimum\":0,\"maximum\":1000000}},\"required\":[\"body\",\"local\",\"target\"],\"additionalProperties\":false}},{\"name\":\"drag\",\"channelId\":\"ctrl\",\"label\":\"Simulation force drag\",\"schema\":{\"type\":\"object\",\"properties\":{\"target\":{\"type\":\"array\",\"minItems\":3,\"maxItems\":3,\"items\":{\"type\":\"number\",\"minimum\":-1000000000,\"maximum\":1000000000}}},\"required\":[\"target\"],\"additionalProperties\":false}},{\"name\":\"release\",\"channelId\":\"ctrl\",\"label\":\"Simulation force drag\",\"schema\":{\"type\":\"object\",\"additionalProperties\":false}},{\"name\":\"ctrl\",\"channelId\":\"ctrl\",\"label\":\"Simulation robots\",\"schema\":{\"type\":\"object\",\"properties\":{\"robotId\":{\"type\":\"string\",\"minLength\":1,\"maxLength\":1024},\"targets\":{\"type\":\"object\",\"additionalProperties\":true}},\"required\":[\"targets\"],\"additionalProperties\":false}},{\"name\":\"actuator\",\"channelId\":\"ctrl\",\"label\":\"Simulation robots\",\"schema\":{\"type\":\"object\",\"properties\":{\"robotId\":{\"type\":\"string\",\"minLength\":1,\"maxLength\":1024},\"name\":{\"type\":\"string\",\"minLength\":1,\"maxLength\":1024},\"value\":{\"type\":\"number\",\"minimum\":-1000000000,\"maximum\":1000000000}},\"required\":[\"name\",\"value\"],\"additionalProperties\":false}},{\"name\":\"pose\",\"channelId\":\"ctrl\",\"label\":\"Simulation robots\",\"schema\":{\"type\":\"object\",\"properties\":{\"robotId\":{\"type\":\"string\",\"minLength\":1,\"maxLength\":1024},\"joints\":{\"type\":\"object\",\"additionalProperties\":true}},\"required\":[\"joints\"],\"additionalProperties\":false}},{\"name\":\"ik\",\"channelId\":\"ctrl\",\"label\":\"Simulation robots\",\"schema\":{\"type\":\"object\",\"properties\":{\"robotId\":{\"type\":\"string\",\"minLength\":1,\"maxLength\":1024},\"target\":{\"type\":\"array\",\"minItems\":3,\"maxItems\":3,\"items\":{\"type\":\"number\",\"minimum\":-1000000000,\"maximum\":1000000000}},\"axis\":{\"type\":\"array\",\"minItems\":3,\"maxItems\":3,\"items\":{\"type\":\"number\",\"minimum\":-1000000000,\"maximum\":1000000000}},\"along\":{\"type\":\"array\",\"minItems\":3,\"maxItems\":3,\"items\":{\"type\":\"number\",\"minimum\":-1000000000,\"maximum\":1000000000}},\"tolerance\":{\"type\":\"number\",\"minimum\":0,\"maximum\":1}},\"required\":[\"target\"],\"additionalProperties\":false}},{\"name\":\"trajectory\",\"channelId\":\"ctrl\",\"label\":\"Simulation robots\",\"schema\":{\"type\":\"object\",\"properties\":{\"robotId\":{\"type\":\"string\",\"minLength\":1,\"maxLength\":1024},\"waypoints\":{\"type\":\"array\",\"minItems\":1,\"maxItems\":10000,\"items\":{\"type\":\"object\",\"properties\":{\"at\":{\"type\":\"number\",\"minimum\":0,\"maximum\":1000000},\"targets\":{\"type\":\"object\",\"additionalProperties\":true}},\"required\":[\"at\",\"targets\"],\"additionalProperties\":false}}},\"required\":[\"waypoints\"],\"additionalProperties\":false}},{\"name\":\"grip\",\"channelId\":\"ctrl\",\"label\":\"Simulation robots\",\"schema\":{\"type\":\"object\",\"properties\":{\"robotId\":{\"type\":\"string\",\"minLength\":1,\"maxLength\":1024},\"close\":{\"type\":\"boolean\"}},\"required\":[\"close\"],\"additionalProperties\":false}},{\"name\":\"stop\",\"channelId\":\"ctrl\",\"label\":\"Simulation robots\",\"schema\":{\"type\":\"object\",\"properties\":{\"robotId\":{\"type\":\"string\",\"minLength\":1,\"maxLength\":1024}},\"additionalProperties\":false}},{\"name\":\"add_robot\",\"channelId\":\"ctrl\",\"label\":\"Simulation robots\",\"schema\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\",\"minLength\":1,\"maxLength\":48},\"device\":{\"type\":\"string\",\"minLength\":1,\"maxLength\":1024},\"definition\":{\"type\":\"object\",\"additionalProperties\":true},\"at\":{\"type\":\"array\",\"minItems\":3,\"maxItems\":3,\"items\":{\"type\":\"number\",\"minimum\":-1000000000,\"maximum\":1000000000}},\"yaw\":{\"type\":\"number\",\"minimum\":-1000000000,\"maximum\":1000000000},\"joints\":{\"type\":\"object\",\"additionalProperties\":true}},\"required\":[\"id\",\"device\",\"at\"],\"additionalProperties\":false}},{\"name\":\"remove_robot\",\"channelId\":\"ctrl\",\"label\":\"Simulation robots\",\"schema\":{\"type\":\"object\",\"properties\":{\"robotId\":{\"type\":\"string\",\"minLength\":1,\"maxLength\":1024}},\"additionalProperties\":false}}]}]}}")
15
+ SDK_SCHEMA: Dict[str, Any] = json.loads("{\"$comment\":\"GENERATED by scripts/sdk/generate-sdks.mts from the CommandAGI SDK schema — do not edit by hand.\",\"version\":1,\"env\":{\"apiKey\":\"COMMANDAGI_API_KEY\",\"baseUrl\":\"COMMANDAGI_BASE_URL\",\"threadId\":\"COMMANDAGI_THREAD_ID\"},\"defaultBaseUrl\":\"https://api.commandagi.com\",\"tools\":{\"transport\":\"POST {baseUrl}/mcp — JSON-RPC 2.0 `tools/call` {name, arguments}, `authorization: Bearer {apiKey}`; the result's text content is JSON. `call(tool, args)` reaches ANY platform tool by name.\",\"root\":[{\"name\":\"constraints\",\"tool\":\"agent_constraints\",\"doc\":\"Inspect or impose an immutable device-action state machine for this thread's agent.\",\"params\":[{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":true},{\"name\":\"whoami\",\"tool\":\"whoami\",\"doc\":\"The account this key belongs to.\",\"params\":[],\"bound\":{},\"withThread\":false},{\"name\":\"search\",\"tool\":\"search_tools\",\"doc\":\"Search the whole tool catalog by keyword.\",\"params\":[{\"name\":\"query\",\"key\":\"query\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"join\"},{\"name\":\"limit\",\"key\":\"limit\",\"type\":\"integer\",\"required\":false,\"spread\":false,\"prefix\":null,\"cli\":\"flag\"}],\"bound\":{},\"withThread\":false},{\"name\":\"run\",\"tool\":\"run_code\",\"doc\":\"Run a snippet server-side (JavaScript / TypeScript / Python).\",\"params\":[{\"name\":\"code\",\"key\":\"code\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"file\"},{\"name\":\"language\",\"key\":\"language\",\"type\":\"string\",\"required\":false,\"spread\":false,\"prefix\":null,\"cli\":\"language\"},{\"name\":\"threadId\",\"key\":\"threadId\",\"type\":\"string\",\"required\":false,\"spread\":false,\"prefix\":null,\"cli\":\"flag\"}],\"bound\":{},\"withThread\":true},{\"name\":\"post\",\"tool\":\"post\",\"doc\":\"Publish a file to a connected social account.\",\"params\":[{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false}],\"namespaces\":[{\"name\":\"computer\",\"doc\":\"Computer input with per-action authority and private variable references.\",\"factory\":null,\"methods\":[{\"name\":\"screenshot\",\"tool\":\"computer_screenshot\",\"doc\":\"Observe the computer's current screen.\",\"params\":[{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":true},{\"name\":\"act\",\"tool\":\"computer_act\",\"doc\":\"One action/payload or an ordered actions array. Stops on first failure. Type a granted variable with text: '${env:NAME}'.\",\"params\":[{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":true}]},{\"name\":\"threads\",\"doc\":\"Agent threads — the unit of work.\",\"factory\":null,\"methods\":[{\"name\":\"list\",\"tool\":\"list_threads\",\"doc\":\"Your threads.\",\"params\":[],\"bound\":{},\"withThread\":false},{\"name\":\"get\",\"tool\":\"get_thread\",\"doc\":\"One thread's detail.\",\"params\":[{\"name\":\"threadId\",\"key\":\"threadId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"}],\"bound\":{},\"withThread\":false},{\"name\":\"create\",\"tool\":\"create_thread\",\"doc\":\"Spawn a thread: {intent, snapshotId?, …}, or {agentless: true, snapshotId} for a world you drive.\",\"params\":[{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false},{\"name\":\"send\",\"tool\":\"send_message\",\"doc\":\"Message a thread.\",\"params\":[{\"name\":\"threadId\",\"key\":\"threadId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"text\",\"key\":\"text\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"join\"}],\"bound\":{},\"withThread\":false},{\"name\":\"events\",\"tool\":\"thread_events\",\"doc\":\"A thread's event log.\",\"params\":[{\"name\":\"threadId\",\"key\":\"threadId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"}],\"bound\":{},\"withThread\":false},{\"name\":\"kill\",\"tool\":\"kill_process\",\"doc\":\"Stop a thread's run (the thread itself persists).\",\"params\":[{\"name\":\"threadId\",\"key\":\"pid\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":\"thread:\",\"cli\":\"positional\"}],\"bound\":{},\"withThread\":false}]},{\"name\":\"embodiments\",\"doc\":\"Computers, cameras, robots and sims attached to a thread.\",\"factory\":null,\"methods\":[{\"name\":\"list\",\"tool\":\"list_embodiments\",\"doc\":\"Attached embodiments.\",\"params\":[],\"bound\":{},\"withThread\":false},{\"name\":\"launch\",\"tool\":\"launch_embodiment\",\"doc\":\"Launch an embodiment into the thread: {kind?, snapshotId?, fromSnapshotId?}.\",\"params\":[{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":true},{\"name\":\"observe\",\"tool\":\"observe\",\"doc\":\"The thread's observation plane: stream channels and the latest frame per embodiment.\",\"params\":[{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":true},{\"name\":\"controls\",\"tool\":\"list_controls\",\"doc\":\"What an embodiment can be driven with right now: channels, actions, payload schemas.\",\"params\":[{\"name\":\"embodimentId\",\"key\":\"embodimentId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"threadId\",\"key\":\"threadId\",\"type\":\"string\",\"required\":false,\"spread\":false,\"prefix\":null,\"cli\":\"flag\"}],\"bound\":{},\"withThread\":true},{\"name\":\"act\",\"tool\":\"act\",\"doc\":\"Drive an embodiment with one declared action (see controls).\",\"params\":[{\"name\":\"embodimentId\",\"key\":\"embodimentId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"action\",\"key\":\"action\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"payload\",\"key\":\"payload\",\"type\":\"object\",\"required\":false,\"spread\":false,\"prefix\":null,\"cli\":\"json\"},{\"name\":\"threadId\",\"key\":\"threadId\",\"type\":\"string\",\"required\":false,\"spread\":false,\"prefix\":null,\"cli\":\"flag\"}],\"bound\":{},\"withThread\":true},{\"name\":\"describe\",\"tool\":\"describe_world\",\"doc\":\"The live sim/robot world: robots, objects and poses the runtime reports.\",\"params\":[{\"name\":\"threadId\",\"key\":\"threadId\",\"type\":\"string\",\"required\":false,\"spread\":false,\"prefix\":null,\"cli\":\"flag\"}],\"bound\":{},\"withThread\":true}]},{\"name\":\"billing\",\"doc\":\"Resold third-party services, charged at the provider's price (docs/billing.md).\",\"factory\":null,\"methods\":[{\"name\":\"prices\",\"tool\":\"quote_passthrough\",\"doc\":\"Every pass-through price, with its source and date.\",\"params\":[],\"bound\":{},\"withThread\":false},{\"name\":\"quote\",\"tool\":\"quote_passthrough\",\"doc\":\"What a service costs before you buy it: {price: \\\"twilio/us-sms\\\", months?, units?, oneTime?}.\",\"params\":[{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false},{\"name\":\"charges\",\"tool\":\"list_passthrough_charges\",\"doc\":\"The account's pass-through line items, monthly items and balance.\",\"params\":[{\"name\":\"limit\",\"key\":\"limit\",\"type\":\"integer\",\"required\":false,\"spread\":false,\"prefix\":null,\"cli\":\"flag\"}],\"bound\":{},\"withThread\":false}]},{\"name\":\"memory\",\"doc\":\"The agent's durable memory: markdown files under memories/ in the thread's drive.\",\"factory\":null,\"methods\":[{\"name\":\"search\",\"tool\":\"memory_search\",\"doc\":\"Recall by query (the drive's content index over memories/).\",\"params\":[{\"name\":\"query\",\"key\":\"q\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"join\"}],\"bound\":{},\"withThread\":false},{\"name\":\"remember\",\"tool\":\"memory_remember\",\"doc\":\"Write a memory file.\",\"params\":[{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false},{\"name\":\"forget\",\"tool\":\"memory_forget\",\"doc\":\"Delete a memory file by its path.\",\"params\":[{\"name\":\"path\",\"key\":\"path\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"}],\"bound\":{},\"withThread\":false}]},{\"name\":\"integrations\",\"doc\":\"Connected third-party accounts.\",\"factory\":null,\"methods\":[{\"name\":\"list\",\"tool\":\"list_integrations\",\"doc\":\"What's connected.\",\"params\":[],\"bound\":{},\"withThread\":false},{\"name\":\"call\",\"tool\":\"integration_call\",\"doc\":\"Drive a provider's API (method/path/query/body).\",\"params\":[{\"name\":\"integration\",\"key\":\"integration\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false}]},{\"name\":\"web\",\"doc\":\"Web search through many providers, one shape (docs/search.md): each result names who returned it; each call says what it cost.\",\"factory\":null,\"methods\":[{\"name\":\"search\",\"tool\":\"web_search\",\"doc\":\"Search: kind search | news | academic | code | social | images | video; provider, limit, since, domains … in opts.\",\"params\":[{\"name\":\"query\",\"key\":\"query\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"join\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false},{\"name\":\"fetch\",\"tool\":\"web_fetch\",\"doc\":\"One page as clean text.\",\"params\":[{\"name\":\"url\",\"key\":\"url\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false},{\"name\":\"crawl\",\"tool\":\"web_crawl\",\"doc\":\"Many pages of one site (pages in opts).\",\"params\":[{\"name\":\"url\",\"key\":\"url\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false},{\"name\":\"answer\",\"tool\":\"web_answer\",\"doc\":\"An answer with citations; depth research for a long report.\",\"params\":[{\"name\":\"question\",\"key\":\"question\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"join\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false},{\"name\":\"providers\",\"tool\":\"web_providers\",\"doc\":\"The providers: what each offers and costs, and whether you can call it.\",\"params\":[],\"bound\":{},\"withThread\":false}]},{\"name\":\"postal\",\"doc\":\"Paper mail (docs/postal.md): letters from a .letter.tsx and postcards from a .postcard.tsx in your files, and mailboxes that receive and scan mail.\",\"factory\":null,\"methods\":[{\"name\":\"quote\",\"tool\":\"postal_quote\",\"doc\":\"What mailing the letter or postcard would cost, and how it would go (its choices: the providers that can mail it). Costs nothing.\",\"params\":[{\"name\":\"source\",\"key\":\"source\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\",\"options\":{\"provider\":{\"type\":\"string\",\"enum\":[\"lob\",\"click2mail\"],\"doc\":\"Who prints and posts it: lob (the default; the US and every other country) or click2mail (US only). Omitted: automatic, the best provider for the destination in the account's postal.providers order, Lob first.\"},\"ownerId\":{\"type\":\"string\",\"enum\":null,\"doc\":\"An organisation's id, to act for it. Omitted: your own account.\"}}}],\"bound\":{},\"withThread\":false},{\"name\":\"send\",\"tool\":\"postal_send\",\"doc\":\"Mail the letter or postcard: charged first, recorded before it is sent, never retried. An agent needs a postal grant.\",\"params\":[{\"name\":\"source\",\"key\":\"source\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\",\"options\":{\"provider\":{\"type\":\"string\",\"enum\":[\"lob\",\"click2mail\"],\"doc\":\"Who prints and posts it: lob (the default; the US and every other country) or click2mail (US only). Omitted: automatic, the best provider for the destination in the account's postal.providers order, Lob first.\"},\"ownerId\":{\"type\":\"string\",\"enum\":null,\"doc\":\"An organisation's id, to act for it. Omitted: your own account.\"}}}],\"bound\":{},\"withThread\":false},{\"name\":\"status\",\"tool\":\"postal_status\",\"doc\":\"A sent piece's state and records; without a piece, the sent pieces.\",\"params\":[{\"name\":\"piece\",\"key\":\"piece\",\"type\":\"string\",\"required\":false,\"spread\":false,\"prefix\":null,\"cli\":\"flag\"}],\"bound\":{},\"withThread\":false},{\"name\":\"cancel\",\"tool\":\"postal_cancel\",\"doc\":\"Cancel a piece before it is printed; the charge comes back.\",\"params\":[{\"name\":\"piece\",\"key\":\"piece\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"}],\"bound\":{},\"withThread\":false},{\"name\":\"inbox\",\"tool\":\"postal_inbox\",\"doc\":\"Your mailboxes, or one mailbox's received pieces with their scans.\",\"params\":[{\"name\":\"mailbox\",\"key\":\"mailbox\",\"type\":\"string\",\"required\":false,\"spread\":false,\"prefix\":null,\"cli\":\"flag\"}],\"bound\":{},\"withThread\":false}]},{\"name\":\"social\",\"doc\":\"A single connected social account, bound: cagi.social('tiktok', '@brand').post(fileId).\",\"factory\":[{\"name\":\"platform\",\"key\":\"platform\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"account\",\"key\":\"account\",\"type\":\"string\",\"required\":false,\"spread\":false,\"prefix\":null,\"cli\":\"flag\"}],\"methods\":[{\"name\":\"post\",\"tool\":\"post\",\"doc\":\"Publish a stored file to this account.\",\"params\":[{\"name\":\"fileId\",\"key\":\"fileId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{\"integration\":\"platform\",\"account\":\"account\"},\"withThread\":false},{\"name\":\"call\",\"tool\":\"integration_call\",\"doc\":\"Raw API call as this account.\",\"params\":[{\"name\":\"method\",\"key\":\"method\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"path\",\"key\":\"path\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{\"integration\":\"platform\",\"account\":\"account\"},\"withThread\":false}]},{\"name\":\"phone\",\"doc\":\"The account's phone lines (docs/phone.md). An agent texts and calls only under a phone grant its owner made.\",\"factory\":null,\"methods\":[{\"name\":\"lines\",\"tool\":\"list_phone_lines\",\"doc\":\"The lines you own or may use.\",\"params\":[{\"name\":\"ownerId\",\"key\":\"ownerId\",\"type\":\"string\",\"required\":false,\"spread\":false,\"prefix\":null,\"cli\":\"flag\"}],\"bound\":{},\"withThread\":false},{\"name\":\"conversations\",\"tool\":\"list_phone_conversations\",\"doc\":\"A line's conversations, newest first.\",\"params\":[{\"name\":\"lineId\",\"key\":\"lineId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"}],\"bound\":{},\"withThread\":false},{\"name\":\"read\",\"tool\":\"read_phone_conversation\",\"doc\":\"One conversation's records (phone/<line>/<correspondent>.jsonl); `after` is a record id or an ISO time.\",\"params\":[{\"name\":\"lineId\",\"key\":\"lineId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"correspondent\",\"key\":\"correspondent\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"after\",\"key\":\"after\",\"type\":\"string\",\"required\":false,\"spread\":false,\"prefix\":null,\"cli\":\"flag\"}],\"bound\":{},\"withThread\":false},{\"name\":\"quote\",\"tool\":\"quote_phone_number\",\"doc\":\"What buying a number charges now, monthly and per use. Buys nothing.\",\"params\":[{\"name\":\"e164\",\"key\":\"e164\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"country\",\"key\":\"country\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"provider\",\"key\":\"provider\",\"type\":\"string\",\"required\":false,\"spread\":false,\"prefix\":null,\"cli\":\"flag\"}],\"bound\":{},\"withThread\":false},{\"name\":\"text\",\"tool\":\"send_text\",\"doc\":\"Send a text (an MMS with drive-file media). Recorded before it is sent; never retried.\",\"params\":[{\"name\":\"lineId\",\"key\":\"lineId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"to\",\"key\":\"to\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"body\",\"key\":\"body\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"media\",\"key\":\"media\",\"type\":\"array\",\"required\":false,\"spread\":false,\"prefix\":null,\"cli\":\"json\"}],\"bound\":{},\"withThread\":false},{\"name\":\"call\",\"tool\":\"place_call\",\"doc\":\"Click-to-call: ring the line's forward-to number (or a number your grant lists), then connect to `to`.\",\"params\":[{\"name\":\"lineId\",\"key\":\"lineId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"to\",\"key\":\"to\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"bridgeTo\",\"key\":\"bridgeTo\",\"type\":\"string\",\"required\":false,\"spread\":false,\"prefix\":null,\"cli\":\"flag\"}],\"bound\":{},\"withThread\":false}]},{\"name\":\"vpn\",\"doc\":\"The VPN overlay (docs/vpn.md): its nodes and exits, and egress from an exit's address.\",\"factory\":null,\"methods\":[{\"name\":\"status\",\"tool\":\"vpn_status\",\"doc\":\"The account's nodes, the exits it may use, the ACL and the exit grants.\",\"params\":[],\"bound\":{},\"withThread\":false},{\"name\":\"fetch\",\"tool\":\"vpn_fetch\",\"doc\":\"Fetch a URL from a VPN exit's address (method, headers, body, exit in opts); refused without an exit grant.\",\"params\":[{\"name\":\"url\",\"key\":\"url\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false}]},{\"name\":\"eda\",\"doc\":\"A circuit in code (docs/eda-authoring.md): check it, route it and make its files with no editor open. fileId is the Drive id of its schematic (.sch.tsx, .sch.py, .sch.rs) or of its board (.pcb.tsx, .pcb.py, .pcb.rs).\",\"factory\":null,\"methods\":[{\"name\":\"erc\",\"tool\":\"sch_erc\",\"doc\":\"Electrical rule check of the schematic: each violation with its rule, severity, pins, and the code elements (file, line) that declare them. CommandAGI's rules over the netlist, not KiCad's ERC. `warnings: false` lists the errors only.\",\"params\":[{\"name\":\"fileId\",\"key\":\"fileId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false},{\"name\":\"drc\",\"tool\":\"pcb_drc\",\"doc\":\"Design rule check of the board: each violation with the code elements it is about. A rule given in opts (clearance, trackWidth …) replaces the board's.\",\"params\":[{\"name\":\"fileId\",\"key\":\"fileId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false},{\"name\":\"netlist\",\"tool\":\"sch_netlist\",\"doc\":\"The circuit's parts, pins and nets, as the schematic states them.\",\"params\":[{\"name\":\"fileId\",\"key\":\"fileId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"}],\"bound\":{},\"withThread\":false},{\"name\":\"fabricate\",\"tool\":\"pcb_fabricate\",\"doc\":\"The manufacturing files of the board (Gerber layers, drill files, bill of materials, pick-and-place); `omitted` names what a file leaves out.\",\"params\":[{\"name\":\"fileId\",\"key\":\"fileId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false},{\"name\":\"model3d\",\"tool\":\"pcb_model3d\",\"doc\":\"The board as a 3D model (format: step or obj). The STEP is an assembly: the board with its holes, each part's own model where its footprint names one in the drive, else a bounding body that says so.\",\"params\":[{\"name\":\"fileId\",\"key\":\"fileId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false},{\"name\":\"exportKicad\",\"tool\":\"pcb_export_kicad\",\"doc\":\"The board as a KiCad project beside it: <stem>.kicad_pcb (every technical layer declared, so KiCad plots mask and paste), a schematic KiCad's parity check compares with the board (no-connect flags on pins left open), <stem>.kicad_pro (the net classes) and fp-lib-table. `schematic: false` writes the board and project only.\",\"params\":[{\"name\":\"fileId\",\"key\":\"fileId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false},{\"name\":\"layout\",\"tool\":\"pcb_layout\",\"doc\":\"Lay out the board by its constraints (<netclass>, <group>, <keepout> …): place the parts with no place, route every net with its class's rules, check, repair, score; again until clean or the budget (budgetMinutes) is spent. Writes the placements and copper into the board's code and says each attempt.\",\"params\":[{\"name\":\"fileId\",\"key\":\"fileId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false},{\"name\":\"layoutScore\",\"tool\":\"pcb_layout_score\",\"doc\":\"Every term of the board's layout objective (unrouted, DRC errors, overlaps, keep-outs, regions, wire length, vias …) with its weight, the weighted total, and each layout check's verdict.\",\"params\":[{\"name\":\"fileId\",\"key\":\"fileId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false},{\"name\":\"checkLayout\",\"tool\":\"pcb_check_layout\",\"doc\":\"The layout checks' findings (placed, routed, DRC with the net classes, courtyards, keep-outs, regions, near, width, length, vias, skew, heat, octolinear, detour, return path): what, where, on which part or net.\",\"params\":[{\"name\":\"fileId\",\"key\":\"fileId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false},{\"name\":\"constrain\",\"tool\":\"pcb_constrain\",\"doc\":\"Set or remove one constraint of the board ({ constraint: \\\"netclass\\\", name, attributes: { nets, width, … } }); written into the board's code as its element.\",\"params\":[{\"name\":\"fileId\",\"key\":\"fileId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false},{\"name\":\"placeGroup\",\"tool\":\"pcb_place_group\",\"doc\":\"Place the parts of one group ({ group } or { parts }) by the constraint model; the copper of their nets is ripped up, to be routed again.\",\"params\":[{\"name\":\"fileId\",\"key\":\"fileId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false},{\"name\":\"routeNets\",\"tool\":\"pcb_route_nets\",\"doc\":\"Route what is open of the nets named ({ nets }; all when none) with their net classes' rules, from the copper they have, on the copper layers given ({ layers }; default the two outer layers, through vias), and write the traces into the board's code. { ripUp: true } removes the nets' copper first. The result names each connection left unrouted; `complete` is false while one is.\",\"params\":[{\"name\":\"fileId\",\"key\":\"fileId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false},{\"name\":\"ripUp\",\"tool\":\"pcb_rip_up\",\"doc\":\"Remove the tracks and vias of the nets named ({ nets }).\",\"params\":[{\"name\":\"fileId\",\"key\":\"fileId\",\"type\":\"string\",\"required\":true,\"spread\":false,\"prefix\":null,\"cli\":\"positional\"},{\"name\":\"opts\",\"key\":null,\"type\":\"object\",\"required\":false,\"spread\":true,\"prefix\":null,\"cli\":\"spread\"}],\"bound\":{},\"withThread\":false}]}]},\"session\":{\"transport\":\"Frames: WebSocket {baseUrl→ws}/rt/thread/{threadId}?token={apiKey}; server messages `frame` {embodimentId, channelId, url} carry the latest image (a data: URL or an https URL fetched with the same bearer). Control: every vocabulary method is `embodiments.act(embodimentId, action, payload)` — the thread resolves the action against what that embodiment live-declares (embodiments.controls).\",\"vocabularies\":[{\"name\":\"desktop\",\"doc\":\"Computers — pointer, keyboard and waits, in pixels of the latest frame (docs/computer-use.md).\",\"actions\":[{\"name\":\"click\",\"channelId\":\"computer\",\"label\":\"Computer. Coordinates are pixels of the latest frame of this computer (0,0 top left); take a screenshot first.\",\"schema\":{\"type\":\"object\",\"properties\":{\"x\":{\"type\":\"number\",\"description\":\"pixel column of the latest frame\",\"minimum\":0},\"y\":{\"type\":\"number\",\"description\":\"pixel row of the latest frame\",\"minimum\":0},\"mods\":{\"type\":\"string\",\"maxLength\":40,\"description\":\"modifiers held during the action: shift, ctrl, alt, super, joined by +\"},\"basis\":{\"type\":\"string\",\"maxLength\":10,\"description\":\"the id of the frame this action was planned on; refused as stale if the screen changed since\"}},\"required\":[\"x\",\"y\"],\"additionalProperties\":false}},{\"name\":\"double_click\",\"channelId\":\"computer\",\"label\":\"Computer. Coordinates are pixels of the latest frame of this computer (0,0 top left); take a screenshot first.\",\"schema\":{\"type\":\"object\",\"properties\":{\"x\":{\"type\":\"number\",\"description\":\"pixel column of the latest frame\",\"minimum\":0},\"y\":{\"type\":\"number\",\"description\":\"pixel row of the latest frame\",\"minimum\":0},\"mods\":{\"type\":\"string\",\"maxLength\":40,\"description\":\"modifiers held during the action: shift, ctrl, alt, super, joined by +\"},\"basis\":{\"type\":\"string\",\"maxLength\":10,\"description\":\"the id of the frame this action was planned on; refused as stale if the screen changed since\"}},\"required\":[\"x\",\"y\"],\"additionalProperties\":false}},{\"name\":\"triple_click\",\"channelId\":\"computer\",\"label\":\"Computer. Coordinates are pixels of the latest frame of this computer (0,0 top left); take a screenshot first.\",\"schema\":{\"type\":\"object\",\"properties\":{\"x\":{\"type\":\"number\",\"description\":\"pixel column of the latest frame\",\"minimum\":0},\"y\":{\"type\":\"number\",\"description\":\"pixel row of the latest frame\",\"minimum\":0},\"mods\":{\"type\":\"string\",\"maxLength\":40,\"description\":\"modifiers held during the action: shift, ctrl, alt, super, joined by +\"},\"basis\":{\"type\":\"string\",\"maxLength\":10,\"description\":\"the id of the frame this action was planned on; refused as stale if the screen changed since\"}},\"required\":[\"x\",\"y\"],\"additionalProperties\":false}},{\"name\":\"right_click\",\"channelId\":\"computer\",\"label\":\"Computer. Coordinates are pixels of the latest frame of this computer (0,0 top left); take a screenshot first.\",\"schema\":{\"type\":\"object\",\"properties\":{\"x\":{\"type\":\"number\",\"description\":\"pixel column of the latest frame\",\"minimum\":0},\"y\":{\"type\":\"number\",\"description\":\"pixel row of the latest frame\",\"minimum\":0},\"mods\":{\"type\":\"string\",\"maxLength\":40,\"description\":\"modifiers held during the action: shift, ctrl, alt, super, joined by +\"},\"basis\":{\"type\":\"string\",\"maxLength\":10,\"description\":\"the id of the frame this action was planned on; refused as stale if the screen changed since\"}},\"required\":[\"x\",\"y\"],\"additionalProperties\":false}},{\"name\":\"middle_click\",\"channelId\":\"computer\",\"label\":\"Computer. Coordinates are pixels of the latest frame of this computer (0,0 top left); take a screenshot first.\",\"schema\":{\"type\":\"object\",\"properties\":{\"x\":{\"type\":\"number\",\"description\":\"pixel column of the latest frame\",\"minimum\":0},\"y\":{\"type\":\"number\",\"description\":\"pixel row of the latest frame\",\"minimum\":0},\"mods\":{\"type\":\"string\",\"maxLength\":40,\"description\":\"modifiers held during the action: shift, ctrl, alt, super, joined by +\"},\"basis\":{\"type\":\"string\",\"maxLength\":10,\"description\":\"the id of the frame this action was planned on; refused as stale if the screen changed since\"}},\"required\":[\"x\",\"y\"],\"additionalProperties\":false}},{\"name\":\"move\",\"channelId\":\"computer\",\"label\":\"Computer. Coordinates are pixels of the latest frame of this computer (0,0 top left); take a screenshot first.\",\"schema\":{\"type\":\"object\",\"properties\":{\"x\":{\"type\":\"number\",\"description\":\"pixel column of the latest frame\",\"minimum\":0},\"y\":{\"type\":\"number\",\"description\":\"pixel row of the latest frame\",\"minimum\":0},\"basis\":{\"type\":\"string\",\"maxLength\":10,\"description\":\"the id of the frame this action was planned on; refused as stale if the screen changed since\"}},\"required\":[\"x\",\"y\"],\"additionalProperties\":false}},{\"name\":\"drag\",\"channelId\":\"computer\",\"label\":\"Computer. Coordinates are pixels of the latest frame of this computer (0,0 top left); take a screenshot first.\",\"schema\":{\"type\":\"object\",\"properties\":{\"x\":{\"type\":\"number\",\"description\":\"pixel column of the latest frame\",\"minimum\":0},\"y\":{\"type\":\"number\",\"description\":\"pixel row of the latest frame\",\"minimum\":0},\"toX\":{\"type\":\"number\",\"description\":\"pixel column of the latest frame\",\"minimum\":0},\"toY\":{\"type\":\"number\",\"description\":\"pixel row of the latest frame\",\"minimum\":0},\"mods\":{\"type\":\"string\",\"maxLength\":40,\"description\":\"modifiers held during the action: shift, ctrl, alt, super, joined by +\"},\"basis\":{\"type\":\"string\",\"maxLength\":10,\"description\":\"the id of the frame this action was planned on; refused as stale if the screen changed since\"}},\"required\":[\"x\",\"y\",\"toX\",\"toY\"],\"additionalProperties\":false}},{\"name\":\"scroll\",\"channelId\":\"computer\",\"label\":\"Computer. Coordinates are pixels of the latest frame of this computer (0,0 top left); take a screenshot first.\",\"schema\":{\"type\":\"object\",\"properties\":{\"x\":{\"type\":\"number\",\"description\":\"pixel column of the latest frame\",\"minimum\":0},\"y\":{\"type\":\"number\",\"description\":\"pixel row of the latest frame\",\"minimum\":0},\"dx\":{\"type\":\"integer\",\"minimum\":-50,\"maximum\":50},\"dy\":{\"type\":\"integer\",\"minimum\":-50,\"maximum\":50,\"description\":\"wheel notches; positive scrolls down\"},\"mods\":{\"type\":\"string\",\"maxLength\":40,\"description\":\"modifiers held during the action: shift, ctrl, alt, super, joined by +\"},\"basis\":{\"type\":\"string\",\"maxLength\":10,\"description\":\"the id of the frame this action was planned on; refused as stale if the screen changed since\"}},\"required\":[],\"additionalProperties\":false}},{\"name\":\"mouse_down\",\"channelId\":\"computer\",\"label\":\"Computer. Coordinates are pixels of the latest frame of this computer (0,0 top left); take a screenshot first.\",\"schema\":{\"type\":\"object\",\"properties\":{\"x\":{\"type\":\"number\",\"description\":\"pixel column of the latest frame\",\"minimum\":0},\"y\":{\"type\":\"number\",\"description\":\"pixel row of the latest frame\",\"minimum\":0},\"button\":{\"type\":\"string\",\"enum\":[\"left\",\"right\",\"middle\"],\"description\":\"the button (default left); it stays down until mouse_up, and stop releases it\"},\"basis\":{\"type\":\"string\",\"maxLength\":10,\"description\":\"the id of the frame this action was planned on; refused as stale if the screen changed since\"}},\"required\":[],\"additionalProperties\":false}},{\"name\":\"mouse_up\",\"channelId\":\"computer\",\"label\":\"Computer. Coordinates are pixels of the latest frame of this computer (0,0 top left); take a screenshot first.\",\"schema\":{\"type\":\"object\",\"properties\":{\"x\":{\"type\":\"number\",\"description\":\"pixel column of the latest frame\",\"minimum\":0},\"y\":{\"type\":\"number\",\"description\":\"pixel row of the latest frame\",\"minimum\":0},\"button\":{\"type\":\"string\",\"enum\":[\"left\",\"right\",\"middle\"],\"description\":\"the button (default left); it stays down until mouse_up, and stop releases it\"},\"basis\":{\"type\":\"string\",\"maxLength\":10,\"description\":\"the id of the frame this action was planned on; refused as stale if the screen changed since\"}},\"required\":[],\"additionalProperties\":false}},{\"name\":\"key\",\"channelId\":\"computer\",\"label\":\"Computer. Coordinates are pixels of the latest frame of this computer (0,0 top left); take a screenshot first.\",\"schema\":{\"type\":\"object\",\"properties\":{\"key\":{\"type\":\"string\",\"minLength\":1,\"maxLength\":64,\"description\":\"a key or a combo: enter, ctrl+l, ctrl+shift+t\"},\"basis\":{\"type\":\"string\",\"maxLength\":10,\"description\":\"the id of the frame this action was planned on; refused as stale if the screen changed since\"}},\"required\":[\"key\"],\"additionalProperties\":false}},{\"name\":\"type\",\"channelId\":\"computer\",\"label\":\"Computer. Coordinates are pixels of the latest frame of this computer (0,0 top left); take a screenshot first.\",\"schema\":{\"type\":\"object\",\"properties\":{\"text\":{\"type\":\"string\",\"minLength\":1,\"maxLength\":500},\"textRef\":{\"type\":\"string\",\"pattern\":\"^\\\\$\\\\{env:[A-Za-z_][A-Za-z0-9_]*\\\\}$\",\"description\":\"private input reference; records keep this instead of text\"},\"basis\":{\"type\":\"string\",\"maxLength\":10,\"description\":\"the id of the frame this action was planned on; refused as stale if the screen changed since\"}},\"required\":[\"text\"],\"additionalProperties\":false}},{\"name\":\"wait\",\"channelId\":\"computer\",\"label\":\"Computer. Coordinates are pixels of the latest frame of this computer (0,0 top left); take a screenshot first.\",\"schema\":{\"type\":\"object\",\"properties\":{\"ms\":{\"type\":\"integer\",\"minimum\":0,\"maximum\":10000}},\"required\":[],\"additionalProperties\":false}}]},{\"name\":\"robot\",\"doc\":\"Physical robots driven through a robot driver (joints, gripper, drive).\",\"actions\":[{\"name\":\"joint\",\"channelId\":\"ctrl\",\"label\":\"Robot driver\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1,\"maxLength\":256},\"value\":{\"type\":\"number\",\"minimum\":-1,\"maximum\":1}},\"required\":[\"name\",\"value\"],\"additionalProperties\":false}},{\"name\":\"pose\",\"channelId\":\"ctrl\",\"label\":\"Robot driver\",\"schema\":{\"type\":\"object\",\"properties\":{\"pose\":{\"type\":\"object\",\"additionalProperties\":true}},\"required\":[\"pose\"],\"additionalProperties\":false}},{\"name\":\"gripper\",\"channelId\":\"ctrl\",\"label\":\"Robot driver\",\"schema\":{\"type\":\"object\",\"properties\":{\"value\":{\"type\":\"number\",\"minimum\":-1,\"maximum\":1}},\"required\":[\"value\"],\"additionalProperties\":false}},{\"name\":\"home\",\"channelId\":\"ctrl\",\"label\":\"Robot driver\",\"schema\":{\"type\":\"object\",\"additionalProperties\":false}},{\"name\":\"reset\",\"channelId\":\"ctrl\",\"label\":\"Robot driver\",\"schema\":{\"type\":\"object\",\"additionalProperties\":false}},{\"name\":\"stop\",\"channelId\":\"ctrl\",\"label\":\"Robot driver\",\"schema\":{\"type\":\"object\",\"additionalProperties\":false}},{\"name\":\"move\",\"channelId\":\"ctrl\",\"label\":\"Robot driver\",\"schema\":{\"type\":\"object\",\"properties\":{\"value\":{\"type\":\"number\",\"minimum\":-1,\"maximum\":1}},\"additionalProperties\":false}},{\"name\":\"back\",\"channelId\":\"ctrl\",\"label\":\"Robot driver\",\"schema\":{\"type\":\"object\",\"properties\":{\"value\":{\"type\":\"number\",\"minimum\":-1,\"maximum\":1}},\"additionalProperties\":false}},{\"name\":\"turn\",\"channelId\":\"ctrl\",\"label\":\"Robot driver\",\"schema\":{\"type\":\"object\",\"properties\":{\"value\":{\"type\":\"number\",\"minimum\":-1,\"maximum\":1}},\"additionalProperties\":false}}]},{\"name\":\"sim\",\"doc\":\"Simulated worlds — lifecycle, interaction, and the robots inside them.\",\"actions\":[{\"name\":\"run\",\"channelId\":\"ctrl\",\"label\":\"Simulation lifecycle\",\"schema\":{\"type\":\"object\",\"additionalProperties\":false}},{\"name\":\"pause\",\"channelId\":\"ctrl\",\"label\":\"Simulation lifecycle\",\"schema\":{\"type\":\"object\",\"additionalProperties\":false}},{\"name\":\"step\",\"channelId\":\"ctrl\",\"label\":\"Simulation lifecycle\",\"schema\":{\"type\":\"object\",\"properties\":{\"n\":{\"type\":\"integer\",\"minimum\":1,\"maximum\":100000}},\"additionalProperties\":false}},{\"name\":\"speed\",\"channelId\":\"ctrl\",\"label\":\"Simulation lifecycle\",\"schema\":{\"type\":\"object\",\"properties\":{\"x\":{\"type\":\"number\",\"minimum\":0,\"maximum\":64}},\"required\":[\"x\"],\"additionalProperties\":false}},{\"name\":\"reset\",\"channelId\":\"ctrl\",\"label\":\"Simulation lifecycle\",\"schema\":{\"type\":\"object\",\"additionalProperties\":false}},{\"name\":\"params\",\"channelId\":\"ctrl\",\"label\":\"Simulation lifecycle\",\"schema\":{\"type\":\"object\",\"properties\":{\"values\":{\"type\":\"object\",\"additionalProperties\":true}},\"required\":[\"values\"],\"additionalProperties\":false}},{\"name\":\"load\",\"channelId\":\"ctrl\",\"label\":\"Simulation lifecycle\",\"schema\":{\"type\":\"object\",\"properties\":{\"world\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1,\"maxLength\":1024},\"kind\":{\"type\":\"string\",\"enum\":[\"simulation\"]},\"scene\":{\"type\":\"object\",\"additionalProperties\":true}},\"required\":[\"name\",\"kind\",\"scene\"],\"additionalProperties\":true}},\"required\":[\"world\"],\"additionalProperties\":false}},{\"name\":\"describe\",\"channelId\":\"ctrl\",\"label\":\"Simulation lifecycle\",\"schema\":{\"type\":\"object\",\"additionalProperties\":false}},{\"name\":\"grab\",\"channelId\":\"ctrl\",\"label\":\"Simulation force drag\",\"schema\":{\"type\":\"object\",\"properties\":{\"body\":{\"type\":\"string\",\"minLength\":1,\"maxLength\":1024},\"local\":{\"type\":\"array\",\"minItems\":3,\"maxItems\":3,\"items\":{\"type\":\"number\",\"minimum\":-1000000000,\"maximum\":1000000000}},\"target\":{\"type\":\"array\",\"minItems\":3,\"maxItems\":3,\"items\":{\"type\":\"number\",\"minimum\":-1000000000,\"maximum\":1000000000}},\"stiffness\":{\"type\":\"number\",\"minimum\":0,\"maximum\":1000000000},\"damping\":{\"type\":\"number\",\"minimum\":0,\"maximum\":1000000000},\"max_force\":{\"type\":\"number\",\"minimum\":0,\"maximum\":1000000000},\"max_speed\":{\"type\":\"number\",\"minimum\":0,\"maximum\":1000000}},\"required\":[\"body\",\"local\",\"target\"],\"additionalProperties\":false}},{\"name\":\"drag\",\"channelId\":\"ctrl\",\"label\":\"Simulation force drag\",\"schema\":{\"type\":\"object\",\"properties\":{\"target\":{\"type\":\"array\",\"minItems\":3,\"maxItems\":3,\"items\":{\"type\":\"number\",\"minimum\":-1000000000,\"maximum\":1000000000}}},\"required\":[\"target\"],\"additionalProperties\":false}},{\"name\":\"release\",\"channelId\":\"ctrl\",\"label\":\"Simulation force drag\",\"schema\":{\"type\":\"object\",\"additionalProperties\":false}},{\"name\":\"ctrl\",\"channelId\":\"ctrl\",\"label\":\"Simulation robots\",\"schema\":{\"type\":\"object\",\"properties\":{\"robotId\":{\"type\":\"string\",\"minLength\":1,\"maxLength\":1024},\"targets\":{\"type\":\"object\",\"additionalProperties\":true}},\"required\":[\"targets\"],\"additionalProperties\":false}},{\"name\":\"actuator\",\"channelId\":\"ctrl\",\"label\":\"Simulation robots\",\"schema\":{\"type\":\"object\",\"properties\":{\"robotId\":{\"type\":\"string\",\"minLength\":1,\"maxLength\":1024},\"name\":{\"type\":\"string\",\"minLength\":1,\"maxLength\":1024},\"value\":{\"type\":\"number\",\"minimum\":-1000000000,\"maximum\":1000000000}},\"required\":[\"name\",\"value\"],\"additionalProperties\":false}},{\"name\":\"pose\",\"channelId\":\"ctrl\",\"label\":\"Simulation robots\",\"schema\":{\"type\":\"object\",\"properties\":{\"robotId\":{\"type\":\"string\",\"minLength\":1,\"maxLength\":1024},\"joints\":{\"type\":\"object\",\"additionalProperties\":true}},\"required\":[\"joints\"],\"additionalProperties\":false}},{\"name\":\"ik\",\"channelId\":\"ctrl\",\"label\":\"Simulation robots\",\"schema\":{\"type\":\"object\",\"properties\":{\"robotId\":{\"type\":\"string\",\"minLength\":1,\"maxLength\":1024},\"target\":{\"type\":\"array\",\"minItems\":3,\"maxItems\":3,\"items\":{\"type\":\"number\",\"minimum\":-1000000000,\"maximum\":1000000000}},\"axis\":{\"type\":\"array\",\"minItems\":3,\"maxItems\":3,\"items\":{\"type\":\"number\",\"minimum\":-1000000000,\"maximum\":1000000000}},\"along\":{\"type\":\"array\",\"minItems\":3,\"maxItems\":3,\"items\":{\"type\":\"number\",\"minimum\":-1000000000,\"maximum\":1000000000}},\"tolerance\":{\"type\":\"number\",\"minimum\":0,\"maximum\":1}},\"required\":[\"target\"],\"additionalProperties\":false}},{\"name\":\"trajectory\",\"channelId\":\"ctrl\",\"label\":\"Simulation robots\",\"schema\":{\"type\":\"object\",\"properties\":{\"robotId\":{\"type\":\"string\",\"minLength\":1,\"maxLength\":1024},\"waypoints\":{\"type\":\"array\",\"minItems\":1,\"maxItems\":10000,\"items\":{\"type\":\"object\",\"properties\":{\"at\":{\"type\":\"number\",\"minimum\":0,\"maximum\":1000000},\"targets\":{\"type\":\"object\",\"additionalProperties\":true}},\"required\":[\"at\",\"targets\"],\"additionalProperties\":false}}},\"required\":[\"waypoints\"],\"additionalProperties\":false}},{\"name\":\"grip\",\"channelId\":\"ctrl\",\"label\":\"Simulation robots\",\"schema\":{\"type\":\"object\",\"properties\":{\"robotId\":{\"type\":\"string\",\"minLength\":1,\"maxLength\":1024},\"close\":{\"type\":\"boolean\"}},\"required\":[\"close\"],\"additionalProperties\":false}},{\"name\":\"stop\",\"channelId\":\"ctrl\",\"label\":\"Simulation robots\",\"schema\":{\"type\":\"object\",\"properties\":{\"robotId\":{\"type\":\"string\",\"minLength\":1,\"maxLength\":1024}},\"additionalProperties\":false}},{\"name\":\"add_robot\",\"channelId\":\"ctrl\",\"label\":\"Simulation robots\",\"schema\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\",\"minLength\":1,\"maxLength\":48},\"device\":{\"type\":\"string\",\"minLength\":1,\"maxLength\":1024},\"definition\":{\"type\":\"object\",\"additionalProperties\":true},\"at\":{\"type\":\"array\",\"minItems\":3,\"maxItems\":3,\"items\":{\"type\":\"number\",\"minimum\":-1000000000,\"maximum\":1000000000}},\"yaw\":{\"type\":\"number\",\"minimum\":-1000000000,\"maximum\":1000000000},\"joints\":{\"type\":\"object\",\"additionalProperties\":true}},\"required\":[\"id\",\"device\",\"at\"],\"additionalProperties\":false}},{\"name\":\"remove_robot\",\"channelId\":\"ctrl\",\"label\":\"Simulation robots\",\"schema\":{\"type\":\"object\",\"properties\":{\"robotId\":{\"type\":\"string\",\"minLength\":1,\"maxLength\":1024}},\"additionalProperties\":false}}]}]}}")
16
16
 
17
17
 
18
18
  def _prune(d: Dict[str, Any]) -> Dict[str, Any]:
@@ -383,6 +383,12 @@ class Eda:
383
383
  a.update(_camel_keys(opts))
384
384
  return self._t.call("pcb_model3d", a)
385
385
 
386
+ def export_kicad(self, file_id: str, **opts: Any) -> Any:
387
+ """The board as a KiCad project beside it: <stem>.kicad_pcb (every technical layer declared, so KiCad plots mask and paste), a schematic KiCad's parity check compares with the board (no-connect flags on pins left open), <stem>.kicad_pro (the net classes) and fp-lib-table. `schematic: false` writes the board and project only."""
388
+ a = _prune({"fileId": file_id})
389
+ a.update(_camel_keys(opts))
390
+ return self._t.call("pcb_export_kicad", a)
391
+
386
392
  def layout(self, file_id: str, **opts: Any) -> Any:
387
393
  """Lay out the board by its constraints (<netclass>, <group>, <keepout> …): place the parts with no place, route every net with its class's rules, check, repair, score; again until clean or the budget (budgetMinutes) is spent. Writes the placements and copper into the board's code and says each attempt."""
388
394
  a = _prune({"fileId": file_id})
@@ -32,7 +32,7 @@ from .element import Element, declarer_of
32
32
  from .tsx import to_tsx
33
33
  # The document vocabularies, one module each (``from commandagi.design.twod import drawing, rect``). Importing them
34
34
  # registers what each root element declares.
35
- from . import business, fab, media, monitors, office, ontology, pcb, pdf, postal, records, schematic, standards, study, tasks, threed, twod # noqa: F401
35
+ from . import agents, business, fab, firmware, media, monitors, office, ontology, pcb, pdf, postal, records, schematic, standards, study, systems, tasks, testplans, threed, tolerances, twod # noqa: F401
36
36
 
37
37
  __all__ = [
38
38
  "Declaration", "NodeRef", "Out", "Scope", "channels", "check_ir", "is_ir_graph",