Create a custom tool
Tools
Create a custom tool
POST
Create a custom tool
Authorizations
Headers
Tenant database. Required when using a Zitadel JWT.
Body
application/json
Tool spec
Tool spec
Example:
"ecommerce"
Example:
"Look up an order by its ID. Returns status, line items, shipping address, and tracking links if available."
Example:
"def run(args, context):\n return get_order(args['order_id'])"
Available options:
http, python Example:
"http"
Example:
"lookup_order"
Example:
["orders", "ecommerce"]Response
Created

