Skip to main content
PATCH
Update Agent Tool

Authorizations

string
required
Your Agni API key used to authenticate the request. Pass it in the X-Api-Key header. Find or rotate it from your Ravan AI account settings.

Path Parameters

string
required
The unique ID of the resource in the path. Use the ID returned by the related create or list endpoint.

Body

string
The internal name of the resource. Use a clear name that your team can recognize in the dashboard and API responses.
string
A short description of the resource. Use it to explain the purpose, behavior, or usage context.
string
The tool type. Use the value that matches how the agent should execute the tool, such as an API or integration tool.
object
The tool definition object. Include the schema, parameters, and execution details required by the tool type.

Response

boolean
Whether the request succeeded.
string
Human-readable status message.
object
Returned data.

Authorizations

X-Api-Key
string
header
required

Path Parameters

id
string
required

Tool ID

Body

application/json
name
string
description
string
type
string
definition
object

Response

200 - application/json

Successful response

success
boolean
message
string
data
object