{"ok":true,"site":{"host":"fabric.keshav-agr2007.workers.dev","url":"https://fabric.keshav-agr2007.workers.dev/?code=AEM9","type":"live","desc":"Fabric","tools":[{"name":"inspect_fabric","kind":"act","impl":"imperative","description":"See what this fabric currently offers: every connected device (node), the capabilities its owner has explicitly shared (data, compute, human), and the tools already compiled. Call this before compiling.","inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/?code=AEM9"},{"name":"compile_tool","kind":"act","impl":"imperative","description":"Create a new tool that does not exist yet. Describe the goal; Fabric plans a pipeline across the connected devices' shared capabilities, validates it, and registers the new tool on this page mid-session. Planning takes 20-45 seconds: this call may return {status:\"compiling\"} while work continues in the background — in that case wait briefly, confirm via inspect_fabric, then call the new tool. Never retry compile_tool for the same goal.","inputSchema":{"type":"object","properties":{"goal":{"type":"string","description":"What the new tool should accomplish, in plain language"},"constraints":{"type":"string","description":"Optional constraints, e.g. which devices or data to prefer"}},"required":["goal"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/?code=AEM9"},{"name":"inspect_tool","kind":"answer","impl":"imperative","description":"See how a compiled tool actually works: its pipeline of typed stages, which device each stage runs on, and its version/health. Compiled tools are data, not generated code — this returns the ground truth.","inputSchema":{"type":"object","properties":{"tool_name":{"type":"string"}},"required":["tool_name"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/?code=AEM9"},{"name":"revoke_tool","kind":"act","impl":"imperative","description":"Remove a previously compiled tool from this fabric.","inputSchema":{"type":"object","properties":{"tool_name":{"type":"string"}},"required":["tool_name"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/?code=AEM9"},{"name":"request_from_human","kind":"transact","impl":"imperative","description":"Ask a person in this fabric for something only a human can do: photograph a physical document (kind=capture), choose between options (kind=decide), or approve an action (kind=approve). The person sees your prompt on their device and can always decline.","inputSchema":{"type":"object","properties":{"node":{"type":"string","description":"peerId of the device whose human to ask (see inspect_fabric); defaults to any node exposing human.request"},"kind":{"type":"string","enum":["capture","decide","approve"]},"prompt":{"type":"string","description":"Shown to the person — write it for them, not for a machine"},"options":{"type":"array","items":{"type":"string"},"description":"For kind=decide: the choices"}},"required":["kind","prompt"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/?code=AEM9"}],"category":"Developer Tools","favicon":"/favicons/fabric.keshav-agr2007.workers.dev.svg","apiSurface":"spec","toolCount":5}}