Create a custom tool
Agents
Create a custom tool
Register a webhook tool for engine-POST mode (endpoint on the Omni configure frame) or bind to an agent profile. The hmac_secret is returned once at creation. Requires the omni:session scope.
POST
Create a custom tool
Authorizations
Use Authorization: Bearer pyai_live_... (or pyai_test_...).
Body
application/json
Response
Created tool
Example:
"tool"
Available options:
prebuilt, custom Available options:
read, action Available options:
active, disabled Returned once at creation for webhook signature verification.