AgentToolService

Create Agent Tool

post/api/v1/tools/

Request

  • Base URL
    https://api.ravan.ai
  • URL
    https://api.ravan.ai/api/v1/tools/
  • Auth
    API key in header X-Api-Key

Request body

namestring

Tool name

descriptionstring

Tool description

typestring

Tool type (e.g. webhook, function)

definitionobject

Tool definition schema

Response

Successful response

successboolean
messagestring

Example response

{
  "data": {
    "definition": {
      "url": "https://example.com/book",
      "method": "POST",
      "parameters": {
        "type": "object"
      }
    }
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.