Update a tool

Updates the configuration of a tool by its unique tool ID.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int64
required

The id of the application to retrieve tools from.

int64
required

The id of the tool to retrieve.

Body Params
string

Name of the tool configuration. Applies to all tool types.

string

Description of the tool configuration. Applies to all tool types.

boolean

Flag indicating if human review is required for this tool's output. Applies to all tool types.

string | null

Message to display if human review is triggered. Applies to all tool types.

string | null

Keyword to approve the agent actions. Applies to all tool types.

config
object

Configuration settings for the tool, stored as JSON. Applies to all tool types.

argsSchema
object | null

JSON schema, defining expected input parameters. Tool-specific behavior:

GENERAL tools:

  • contactCenter, dialogflow, dummyTool: Must be null/empty, no custom args.
  • webSearch: If null or empty, defaults to standard 'query' parameter (required).
  • userProfileMemory: required custom argsSchema.

RETRIEVAL tools: If null or empty, defaults to standard 'query' parameter (required).

API tools: Can be null/empty or customized.
NOTE: For API tools, 'params' and 'argsSchema' must match (they represent the same data).

MCP tools: Can be null/empty or customized. NOTE: For MCP tools, 'params' and 'argsSchema' must match (they represent the same data).

string
length ≤ 500

API endpoint URL. Applies to API tools only.

string

HTTP method (e.g., GET, POST). Applies to API tools only.

headers
object | null

HTTP headers. Applies to API and MCP tools.

params
object | null

URL query parameters. Applies to API and MCP tools.

body
object | null

Request body for methods like POST, PUT. Applies to API tools only.

boolean

Flag to enable caching for API responses. Applies to API tools only.

integer | null

Cache Time-To-Live in seconds (if cacheEnabled is true). Applies to API tools only.

retrievalSettings
object

Custom retrieval settings for the tool, including RBAC configuration.

RBAC Fields:

  • enforceDocumentFilters (boolean): When true, applies RBAC filtering to retrieval results based on user permissions.
  • filtersContextKey (string): JSON path in the context object to extract user access filters (e.g., "profile.allowedFilters", "docAccess").

Other Common Fields:

  • strategy (string): Retrieval strategy. Values: "semantic", "keyword", "hybrid".
  • similarityThreshold (number): Minimum similarity score for semantic matches (0-1).
  • totalMatches (integer): Maximum number of documents to retrieve.
  • similarityMatches (integer): Number of semantic similarity matches (used with hybrid strategy).
  • keywordMatches (integer): Number of keyword matches (used with hybrid strategy).
  • includeMetadata (boolean): Whether to include document metadata in results.

Example:

{
  "strategy": "hybrid",
  "similarityMatches": 8,
  "keywordMatches": 4,
  "similarityThreshold": 0.6,
  "totalMatches": 15,
  "includeMetadata": true,
  "enforceDocumentFilters": true,
  "filtersContextKey": "profile.allowedFilters"
}

RBAC Behavior:

  • When enforceDocumentFilters is false or not set, all documents are retrieved (no RBAC filtering).
  • When enforceDocumentFilters is true:
    • Retrieves user filters from the path specified in filtersContextKey in the context object.
    • Only returns chunks from documents where:
      • visibilityMode is "public", OR
      • visibilityMode is "restricted" AND at least one of the document's accessFilters matches the user's filters.
    • If user has no filters or the context key doesn't exist, only "public" documents are returned.
boolean

Flag indicating if retrieval should be time-aware. Applies to RETRIEVAL tools only.

ingestionSources
array of strings | null

List of Ingestion Source IDs to associate for creation/replacement. Applies to RETRIEVAL tools only.

ingestionSources
string

The base URL of the MCP server. Applies to MCP tools only.

boolean

Flag indicating if the MCP tool is enabled. Applies to MCP tools only.

toolSelectionConfig
object

Configuration settings for the tool selection. Applies to MCP tools only.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json