Skip to main content
POST
/
users
/
{userId}
/
tools
Execute tool
curl --request POST \
  --url http://localhost:3000/users/{userId}/tools \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "arguments": {}
}
'
{
  "content": [
    {
      "type": "<string>",
      "text": "<string>"
    }
  ],
  "isError": true,
  "error": "<string>"
}

Path Parameters

userId
string
required

Body

application/json
name
string
required
arguments
object
required

Response

Tool execution result

content
object[]
isError
boolean
error
string