---
title: "Update Agent Tool"
method: PATCH
path: "/api/v1/tools/{id}/"
tags: ["AgentToolService"]
---

# Update Agent Tool

`PATCH /api/v1/tools/{id}/`

## Path parameters

- `id` string, required

## Request body

- UpdateAgentToolRequest
  - `name` string
  - `description` string
  - `type` string
  - `definition` object

## Response `200`

Successful response

- UpdateAgentToolResponse
  - `success` boolean
  - `message` string
  - `data` AgentTool
    - `id` string — Tool UUID
    - `organizationId` string — Organization UUID
    - `name` string — Tool name
    - `description` string — Tool description
    - `type` string — Tool type
    - `definition` AgentToolDefinition — Tool definition payload.
      - `url` string
      - `method` string
      - `parameters` object
        - `type` string
        - `properties` object
    - `isActive` boolean — Whether the tool is active
    - `agentId` string — Agent UUID attached to the tool
    - `enabledFunctions` AgentToolEnabledFunctions
      - `values` string[]

---

[API](https://skmtc.net/ravan/apis/agni-api.md) · [All operations](https://skmtc.net/ravan/apis/agni-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ravan/agni-api/revisions/48f45dc58534/schema)
