Skip to main content

Tools

Tools are callable actions. Trevi builds tools from operations in your OpenAPI document or Postman Collection. AI intelligence helps you select the right subset of operations to expose.

Resources

Resources are read-only content exposed by the server, such as docs, static files, or generated artifacts. Resources have a URI, name, and MIME type.

Prompts

Prompts are reusable templates. They have arguments and produce structured messages for clients and apps.

Workflows

Workflows are multi-step sequences that call tools in order. You can run workflows manually or expose them as a tool.

Where these come from

Tools come from the spec. Resources and prompts are configured in the Server Builder. Workflows live on the app and can be executed through the SDK runtime.

How to test

Use the Inspector to list tools, read resources, and fetch prompts. Use app workflows to validate multi-step flows.