yaaif_mcp_link_or_create
Link or create an external MCP tool in the tenant catalog idempotently. Avoids duplicate entries and ensures the tool is ready for YAAIF platform integrations.
Instructions
Idempotently link/create an external MCP tool in the tenant catalog.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"endpoint": "<endpoint>"
},
"name": "yaaif_mcp_link_or_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | ||
| name | Yes | ||
| enabled | No | ||
| headers | No | ||
| spec_id | No | ||
| endpoint | Yes | ||
| slot_key | No | ||
| server_id | No | ||
| description | No | ||
| transport_type | No | ||
| timeout_seconds | No | ||
| remote_tool_name | No |