For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dashboard
User GuideDeveloper GuidesAPI Reference
User GuideDeveloper GuidesAPI Reference
    • Overview
  • Runtype API
      • GETMCP manifest
      • GETOAuth protected resource metadata
      • GETMCP surface info
      • POSTExecute an MCP surface tool (dashboard test)
      • POSTList MCP surface tools (dashboard test)
Dashboard
LogoLogo
Runtype APIProduct Mcp

Execute an MCP surface tool (dashboard test)

POST
/v1/products/:productId/surfaces/:surfaceId/mcp/tools/execute-test
POST
/v1/products/:productId/surfaces/:surfaceId/mcp/tools/execute-test
$curl -X POST https://api.runtype.com/v1/products/productId/surfaces/surfaceId/mcp/tools/execute-test \
> -H "Authorization: <apiKey>" \
> -H "Content-Type: application/json" \
> -d '{
> "toolName": "dataValidationTool"
>}'
1{
2 "duration": 0.85,
3 "isError": false,
4 "success": true,
5 "text": "Tool executed successfully with no errors."
6}

Dashboard test endpoint. Authenticates with a Clerk session JWT and executes a named tool via the same path as production tools/call.

Was this page helpful?
Previous

List MCP surface tools (dashboard test)

Next
Built with

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

productIdstringRequired
surfaceIdstringRequired

Request

This endpoint expects an object.
toolNamestringRequired
argumentsmap from strings to anyOptional

Response

Tool execution result
durationdouble
isErrorboolean
successboolean
textstring

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error