Refresh MCP tools for a connector
Discover the remote MCP server tools and reconcile the cached connector actions. The response reports the resulting refresh status and retains the previous successful tool set if discovery fails. Remote discovery and provisioning failures return HTTP 200 with an ERROR refresh status.
API Key for Messaging API authentication. Send your API key in the D360-API-KEY header.
The unique identifier of the MCP connector
Meta Business Agent API version
The connector with updated MCP tool sync metadata
A single connector
Authentication type for this connector
Base URL of the external API
Protocol used by this connector. Defaults to HTTP when omitted.
Description of the connector
The unique identifier for this connector
1234567890Display name of the connector
Bad request
Unauthorized
Forbidden
Not found
Too many requests
Server error
POST /agent_connectors/{connector_id}/refreshMCPTools HTTP/1.1
Host: waba-v2.360dialog.io
D360-API-KEY: YOUR_API_KEY
Accept: */*
{
"auth_config": {
"api_key": {
"body_params": [
{
"field_name": "text",
"prefix": "text",
"value": "text"
}
],
"headers": [
{
"field_name": "text",
"prefix": "text",
"value": "text"
}
],
"query_params": [
{
"field_name": "text",
"prefix": "text",
"value": "text"
}
]
},
"oauth2_client_credentials": {
"client_id": "text",
"client_secret": "text",
"scopes_to_request": [
"text"
],
"token_request_content_type": "text",
"token_url": "text"
}
},
"auth_type": "OAUTH2",
"base_url": "text",
"connection_status": {
"error_message": "text",
"status": "PENDING_OAUTH"
},
"connector_protocol": "HTTP",
"description": "text",
"id": "1234567890",
"mcp_tool_sync": {
"fingerprint": "text",
"last_attempted_at": 1,
"last_successful_at": 1,
"status": "ERROR",
"tool_count": 1
},
"mtls_config": {
"ca_certificate": "text",
"client_certificate": "text",
"expires_at": 1,
"fingerprint": "text",
"has_certificate": true,
"subject": "text"
},
"name": "text",
"user_auth_injection_config": {
"field_name": "text",
"location": "body",
"prefix": "text"
}
}Last updated
Was this helpful?