Update Insights Tool Configuration
Update an Insights tool.
/api/v1/insights/tool-configurations/{tool_id}Authentication
Syllable-API-KeyrequiredSend Syllable-API-Key in the header.
Need a credential? Create or manage an API token in the Syllable Console.
Parameters
Path parameters
tool_id
integer
path
required
Request body
application/json
body
InsightToolInput
required
5 fields
namestringrequiredHuman readable name of insight tool
descriptionstringrequiredText description of insight tool configuration
versionintegerrequiredVersion number of insight tool configuration
tool_argumentsunspecifiedrequiredArguments for calling the insight tool
insight_tool_definition_idintegerrequiredInternal ID for the definition used by the insight tool configuration
Request example
{
"name": "string",
"description": "string",
"version": 0,
"tool_arguments": "string",
"insight_tool_definition_id": 0
}Responses
200Successful Response
application/json
response
InsightToolResponse
required
11 fields
namestringrequiredHuman readable name of insight tool
descriptionstringrequiredText description of insight tool configuration
versionintegerrequiredVersion of insight tool
tool_argumentsunspecifiedrequiredArguments for calling the insight tool
insight_tool_definition_idintegerrequiredUnique ID for insight tool definition used by this tool configuration
idintegerrequiredUnique ID for insight tool
insight_tool_definitionInsightToolDefinition | nulloptionalInsight Tool Definition
6 options
idintegerrequiredUnique ID for insight tool definition
namestringrequiredHuman-readable name of insight tool definition
typestringrequiredType of insight tool definition
descriptionstringrequiredText description of insight tool definition
tool_parametersunspecifiedrequiredParameters for tools that use this definition and their associated types
tool_result_setunspecifiedrequiredResult key/types for insight tool definition
created_atstring (date-time)optionalTimestamp of at which insight tool configuration was created
updated_atstring (date-time)optionalTimestamp at which insight tool configuration was last updated
last_updated_bystringrequiredEmail of user who last updated insight tool configuration
validation_issuesValidationIssue[] | nulloptionalNon-blocking findings for the saved insight tool (e.g. a deprecated model warning). Warnings and infos are informational; errors block the save.
Item schema
itemsValidationIssuerequiredA single validation finding with severity, location, and description.
5 fields
idstringrequiredStable machine-readable identifier (kebab-case)
severityenum<string>optional["info","warning","error"]Default errormessagestringrequiredHuman-readable description
pathstring | nulloptionalJSONPath-style location (e.g. $.context.task.steps[2])
valuestring | nulloptionalThe offending value, when it adds clarity
Response example
{
"name": "string",
"description": "string",
"version": 0,
"tool_arguments": "string",
"insight_tool_definition_id": 0,
"id": 0,
"insight_tool_definition": "string",
"created_at": "string",
"updated_at": "string",
"last_updated_by": "string",
"validation_issues": "string"
}No response body is declared.
No response body is declared.
No response body is declared.
422Validation Error
application/json
response
HTTPValidationError
required
1 field
detailValidationError[]optionalItem schema
itemsValidationErrorrequired3 fields
locstring | integer[]requiredItem schema
itemsstring | integerrequired2 options
Option 1stringrequiredOption 2integerrequiredmsgstringrequiredtypestringrequiredResponse example
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}No response body is declared.

