Agent-readable docs index: /docs/llms.txt. Full docs in one file: /docs/llms-full.txt. Download /docs/docs.zip to grep all markdown files locally.

Tools

Tools are implemented in the browser and described with JSON Schema.
ts
const tools = { update_inventory: { description: "Update an inventory item", parameters: { type: "object", properties: { name: { type: "string" }, quantity: { type: "number" }, }, required: ["name", "quantity"], additionalProperties: false, }, execute: async ({ name, quantity }) => { await updateInventory(name, quantity); return { ok: true }; }, }, };
Use tool.call to show pending work and tool.result to reflect completion or failure.