ApiSchemas
McpToolConfig
One shape from the contract, as it appears on the wire.
Used by agents.create, agents.promote, agents.update, agents.upsert, agents.versions
Referenced from ToolConfig
JSON Schema
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"mcp"
]
},
"connection": {
"type": "string",
"minLength": 1
},
"name": {
"$ref": "#/components/schemas/ProviderName"
},
"url": {
"type": "string",
"minLength": 1
},
"auth": {
"$ref": "#/components/schemas/InlineHookAuth"
},
"allow": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"tools": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/ToolEntryLoading"
}
}
},
"required": [
"type"
],
"additionalProperties": false
}