Skip to main content
Use this page when you want to inspect Custory’s available tools or call one directly from the terminal.

What this is

Custory exposes bounded tools that can read or update workspace and journey context. The CLI can:
  • list available tools
  • describe a tool contract
  • call a tool with JSON input
  • run a higher-level Custory agent task

List tools

Run:
Human-readable output shows each tool name and description. For scripts:

Describe a tool

Run:
The CLI prints the tool schema as JSON. For machine-readable output:
Use the schema as the source of truth for the tool’s input shape. Avoid guessing tool arguments from prose.

Call a tool with inline JSON

Use --input for small JSON objects:
--input is limited to small payloads. Use --file or --stdin for larger input.

Call a tool from a file

The file must contain a JSON object.

Call a tool from standard input

Standard input must be valid UTF-8 and valid JSON.

Partial tool outcomes

Some tools can return a structured result where success is false. When that happens, the CLI exits with code 4. Treat the output as an intentional tool result, not necessarily a crashed CLI process. Use the returned message and fields to decide whether to retry, fix permissions, narrow scope, or change the input.

Run an agent task

Use custory agent run for a higher-level goal instead of one direct tool call.
You can also scope by journey:
Supported modes are:
  • journey
  • personas
If you omit --mode, Custory chooses from the available task context.

Permission and scope failures

If a tool fails because the workspace or journey is not accessible:
  1. Run custory status.
  2. Run custory workspace list.
  3. Confirm you are using the correct workspace slug, ID, or journey ID.
  4. Ask a workspace owner for the required access if needed.
Read-only access is not enough for write tools.

Next step

Read Command reference for the full command list, or Coding agents and MCP to connect these tools to an MCP client.