Skip to main content
Tools are LLM-callable functions. They are used by the Custom agent step inside automations and by the chat agent in the dashboard. Each tool has a kind. Read tools fetch data. Write tools mutate state and run through your configured approval policy before running.

Customers

Read tools

Get customer details by UID or email. Returns email, full name, created_at, and order count.Input
string | null
The customer’s UUID
string | null
The customer’s email address
Output
string | null
string | null
string | null
string | null
integer | null
string | null

Write tools

Create a new customer record.Input
string
required
Customer email address.
string
required
Customer full name.
Output
CustomerOutput | null
Update a customer record.Input
integer
required
The customer’s database ID.
string | null
New email address.
string | null
New full name.
Output
CustomerOutput | null
string[]

Insights

Read tools

Query the project’s analytics data.Input
string
required

Invoices

Read tools

Get invoice details by UID, including status, totals, line items, and billing info.Input
string
required
The invoice’s UUID
Output
boolean
string | null
integer | null
string | null
string | null
string | null
string | null
integer | null
integer | null
string | null
integer | null
integer | null
integer | null
integer | null
string | null
string | null
InvoiceLineItemOutput[]

Write tools

Create an invoice for a customer.Input
integer
required
The customer’s database ID.
object[]
required
List of line items, each with description, quantity, unit_price.
string
ISO 4217 currency code (default: usd). Default: "usd".
Output
integer | null
string | null
string | null
integer | null
Append a line item to an existing invoice.Input
string
required
The invoice’s UUID.
string
required
Line item title.
integer
required
Quantity (>=1).
integer
required
Unit price in the invoice’s smallest currency unit.
integer | null
Optional product ID linking the item to a product.
string | null
Optional description.
Output
integer | null
integer | null

Notifications

Read tools

Browse project notifications with filters.Input
string[] | null
string[] | null
boolean
Default: true.
boolean
Default: false.
boolean
Default: true.
integer | null
integer
Default: 25.
Output
integer
object[]

Orders

Read tools

Get order details by UID including line items and customer info.Input
string
required
The order’s UUID
Output
integer | null
string | null
string | null
number | null
number | null
number | null
string | null
OrderCustomerInfo | null
OrderLineItemInfo[] | null
string | null
Get a customer’s recent order history. Returns orders with totals, status, and line items.Input
integer
required
The customer’s database ID
integer
Max orders to return (default 20) Default: 20.
Output
integer
OrderSummary[]
Browse the most recent orders.Input
integer
Default: 10.

Write tools

Update the billing address on an order.Input
string
required
The order’s UUID.
string
required
Street address line 1.
string
required
City name.
string
required
Postal/ZIP code.
string
required
ISO country code (e.g. ‘US’).
string | null
Optional secondary address line.
string | null
Optional state/region code.
Output
integer | null
Update fields on an order (whitelisted by the order’s agent-updatable fields).Input
integer
required
The order’s database ID.
object
required
Dict of writable fields to apply (subject to the order’s agent-updatable whitelist).
Output
string | null
Update an order’s integration metadata.Input
integer
required
The order’s database ID.
object
required
Metadata fields to merge into the order record.
Output
integer | null
Update an order’s status. Pauses for approval before running.Input
integer
required
The order’s database ID.
enum (`pending`, `confirmed`, `complete`)
required
New status. Cannot be ‘refunded’ or ‘cancelled’ (those have dedicated flows).
Output
integer | null
string | null
string | null
Update the shipping address on an order.Input
string
required
The order’s UUID.
string
required
Street address line 1.
string
required
City name.
string
required
Postal/ZIP code.
string
required
ISO country code (e.g. ‘US’).
string | null
Optional secondary address line.
string | null
Optional state/region code.
Output
integer | null

Payments

Read tools

Get payment details by UID, including amount, status, and method.Input
string
required
The payment’s UUID
Output
boolean
string | null
integer | null
string | null
integer | null
string | null
integer | null
string | null
string | null
string | null
string | null
string | null
string | null
string | null
string | null

Products

Read tools

Get product details by UID, including name, description, archive state, and default variant.Input
string
required
The product’s UUID
Output
boolean
string | null
integer | null
string | null
string | null
string | null
string | null
boolean | null
boolean | null
ProductVariantOutput | null
Browse the project’s products.Input
string | null

Write tools

Archive a product deliverable.Input
string
required
The deliverable’s UUID.
Output
string | null
Archive a product so it stops appearing on the storefront.Input
string
required
The product’s UUID.
Output
string | null
Create a new product deliverable.Input
string
required
Deliverable type identifier.
string
required
Display name.
object | null
Optional type-specific configuration.
Output
string | null
string | null
Create a new price for a product variant.Input
string
required
The variant’s UUID.
number
required
Unit price.
string
ISO 4217 currency code (default: USD). Default: "USD".
string | null
Optional human-readable name for the price.
string | null
Optional ‘month’ or ‘year’ for subscriptions.
boolean
Whether to mark this as the default price for the variant. Default: false.
Output
string | null
boolean | null
Publish a product so it appears on the storefront.Input
string
required
The product’s UUID.
Output
string | null
string | null
Mark a price as the default for its variant.Input
string
required
The price’s UUID.
Output
string | null
Unarchive a product.Input
string
required
The product’s UUID.
Output
string | null
Update a product deliverable.Input
string
required
The deliverable’s UUID.
string | null
Optional new name.
string | null
Optional new type identifier.
object | null
Optional new configuration.
Output
string | null

Read tools

Fetch the content of a public web page.Input
string
required
string
required
Search the public web.Input
string
required
integer
Default: 5.