Skip to main content
PUT
Update tool

Authorizations

x-access-token
string
header
required

JWT token passed in x-access-token header

Path Parameters

id
string
required

Tool ObjectId

Body

application/json

Partial update — only fields present in the body are written. The handler calls Tool.updateOne({_id}, body) with whatever is supplied; no field is required.

name
string
description
string
instructions
string
argument_1
string
argument_2
string
argument_3
string
argument_4
string
argument_5
string
argument_6
string
isArray
boolean
rtEnabled
boolean
rtOnly
boolean
categories
enum<string>[]
Available options:
research,
productivity,
creative,
communication,
learning
status
enum<string>
Available options:
active,
inactive,
deleted

Response

Tool updated successfully

success
boolean
id
string

ObjectId of the updated tool

message
string