Call Agent Tools (MCP) Asset Tool

Request
path Parameters
asset_id
required
string (Asset Id)
Example: dba9e6e8-7fbf-42f9-baf4-78747fb3e125
tool_id
required
string (Tool Id)

Tool ID as configured in the asset (for example, search-data or load-data).

Example: search-data
query Parameters
draft
boolean (Draft)
Default: false

Set to true to call the draft version of the asset.

Example: draft=false
Responses
200

Successful Response

404

Asset not found

422

Unprocessable Entity

post/studio-copilot/api/v1/mcp-servers/mcp/{asset_id}/tool-api/{tool_id}
Request samples
Response samples
application/json
{
  • "search_result": "{\"string\": [{\"id\": \"MCP_GETTING_STARTED.TEXT\", \"display_name\": \"Text\", \"record_display_name\": \"Mcp Getting Started\", \"column_type\": \"STRING\", \"entity_type\": \"Attribute\"}]}"
}