Agent Actions
Update a custom action configuration.
Changed onput/api/v1/projects/{projectId}/actions/custom/{actionKey}
Request
- Base URLhttps://app.customgpt.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
projectIdinteger required
Example:1
The unique agent identifier.
actionKeystring required
Example:document_analyst
Action key (built-in tool key such as "document_analyst", or custom action tool_key such as "custom_mcp_connector_abc123").
Request body
Example request
{
"name": "My MCP Action",
"description": "CRM lookup",
"is_enabled": true,
"settings": {
"mcp_url": "https://customgpt.ai",
"require_tool_confirmation": true
}
}Response
Custom action updated.
Example response
{
"status": "success",
"data": {
"action": {
"project_id": 1,
"tool_key": "custom_mcp_connector_8f3a1b2c",
"name": "My MCP Action",
"description": "CRM lookup",
"action_type": "mcp_connector"
}
}
}Changes
- info
endpoint added
- info