Skip to main content
PUT
/
v1
/
flow
/
tools
/
{tool_id}
curl --request PUT \
  --url https://flow.seekr.com/v1/flow/tools/{tool_id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "my file search tool",
  "description": "contains files about ",
  "type": "file_search",
  "config": {
    "file_search_index": "my-document-index",
    "top_k": 10,
    "score_threshold": 0.7
  }
}
'
{
  "id": "<string>",
  "name": "<string>",
  "config": {
    "FILE_SEARCH_INDEX": "<string>",
    "EMBEDDING_MODEL": "<string>",
    "TOP_K": 10,
    "SCORE_THRESHOLD": 0
  },
  "user_id": "<string>",
  "team_id": "<string>",
  "version": 123,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "description": "<string>",
  "type": "file_search"
}
Update a tool’s configuration. This endpoint requires full object replacement — include all fields in the request, even those you are not changing, or they will be set to null.
❗ Important Tool updates propagate immediately to all agents using the tool.

MCP connector

You can update an MCP connector tool’s name and description. The server URL and authentication credentials (config.URL, config.CLIENT_ID, config.CLIENT_SECRET) cannot be updated. To use a different server or credentials, delete the tool and create a new one, then update your agent’s tool_ids. MCP connector tools cannot be duplicated.

Agent as tool

When updating an agent-as-tool, the config.agent_id must match the original sub-agent. You cannot swap the underlying sub-agent—if you need a different one, delete this tool and create a new one. For SDK examples and full constraints, see Agent as tool.

Authorizations

Authorization
string
header
required

Seekr API Key without 'Bearer' Prefix

Path Parameters

tool_id
string
required

Body

application/json
name
string
required
description
string
required
config
FileSearchConfig · object
required
type
string
default:file_search
Allowed value: "file_search"

Response

Successful Response

id
string
required
name
string
required
config
FileSearchConfig · object
required
user_id
string
required
team_id
string | null
required
status
enum<string>
required
Available options:
Active,
Inactive,
Deprecated,
Pending_authorization,
Failed
version
integer
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
description
string | null
type
string
default:file_search
Allowed value: "file_search"
Last modified on June 18, 2026