--- title: API reference description: Find Cotal CLI commands, agent tools, configuration fields, and data models. kind: Reference audience: operators and integrators --- import { Card, Cards } from 'fumadocs-ui/components/card'; Use the CLI from a terminal or the `cotal_*` tools inside a connected agent session. These references describe the TypeScript implementation. The [wire specification](../SPEC.md) defines the protocol. ## Commands Look up command syntax, flags, receipts, and limits by topic. Look up tool arguments, availability, and effects on the mesh. ## Configuration Define a persona's identity, model, capabilities, and channel access. Look up the fields in a cotal.yaml team definition. Find workstation preferences, environment variables, and storage paths. Look up read, publish, and channel-administration permissions. ## Models Look up terminal observer data, events, and membership state. Look up workflow effects, results, and common refusals. Find definitions of protocol and implementation terms. ## TypeScript packages Look up the declarations each published package exports, generated from its source. ## HTTP interfaces [Integration interfaces](api-reference.mdx) explains which API fits a client. The [Auth HTTP reference](auth-api.mdx) covers authority operations. The [Dashboard HTTP reference](dashboard-api.mdx) covers browser and automation reads. Both publish portable OpenAPI specifications and operation-level Markdown.