Agents
Update a tool
Update a tool by id. Pass rotate_secret: true to mint a new webhook signing secret, returned once as hmac_secret. Requires the omni:session scope.
post/v1/tools/{id}
Request
- Base URL: https://api.pyai.com
- URL: https://api.pyai.com/v1/tools/{id}
- Auth: one of:
- HTTP bearer
- API key in header x-api-key
Path parameters
idstring required
Request body
Response
Updated tool (includes hmac_secret only when rotate_secret was set)
Example response
{
"object": "tool"
}Changes
No recorded changes to this operation across all 1 revision of this API.