Skip to content
Guides

Agent tools

Give an agent the workflow and exact contract it must implement.

Use Markdown to explain the task and OpenAPI to define the call. Neither replaces server-side validation.

The documentationthe same pages you readThe agentreads it whole, without guessing

Available sources

  • llms.txt lists the public APIs and guides.
  • llms-full.txt collects public documentation in one file.
  • A page menu can copy or open its Markdown.

OpenAPI contracts

Provide only the contract for the API the agent will use. Admin, Storefront, and Auth do not share every authentication, context, pagination, or error rule.

What to take from each source

SourceUse it for
Markdown guideWorkflow order, decisions, and operating constraints.
OpenAPIMethod, path, parameters, body, schemas, responses, and published security.
Endpoint pageReadable presentation of that operation's contract.

If a permission, example, or rule is absent from these sources, the agent should mark it as unknown. It must not invent one from the endpoint name.

Implement this operation from the attached guide and OpenAPI.
Preserve the method, path, operationId, parameters, and schemas.
Do not invent fields, permissions, responses, or examples.
Distinguish Admin, Storefront, and Auth.
Before retrying, check whether the operation is idempotent.

Workflow

  1. Choose one API and one operation.
  2. Attach the workflow guide and the OpenAPI fragment for that operation.
  3. Ask for a typed client that uses only fields from the contract.
  4. Run it with development credentials and data.
  5. Compare the actual request and response with the published contract.

Do not infer authorization

An operation appearing in OpenAPI does not grant access. Use published security and the server response; do not assume permission names the contract does not declare.

Do not share a client_secret, access token, personal data, or production response in the prompt. Replace values before attaching examples.

On this page