Pica MCP Server

by picahq
Verified

execute_action

Prepare to execute a specific action (requires confirmation)

Input Schema

NameRequiredDescriptionDefault
actionIdYesID of the action to execute
connectionKeyYesKey of the connection to use
dataNoRequest data (for POST, PUT, etc.)
headersNoAdditional headers
isFormDataNoWhether to send data as multipart/form-data
isFormUrlEncodedNoWhether to send data as application/x-www-form-urlencoded
methodYesHTTP method (GET, POST, PUT, DELETE, etc.)
pathYesAPI path
pathVariablesNoVariables to replace in the path
queryParamsNoQuery parameters

Input Schema (JSON Schema)

{ "properties": { "actionId": { "description": "ID of the action to execute", "type": "string" }, "connectionKey": { "description": "Key of the connection to use", "type": "string" }, "data": { "description": "Request data (for POST, PUT, etc.)", "type": "object" }, "headers": { "description": "Additional headers", "type": "object" }, "isFormData": { "description": "Whether to send data as multipart/form-data", "type": "boolean" }, "isFormUrlEncoded": { "description": "Whether to send data as application/x-www-form-urlencoded", "type": "boolean" }, "method": { "description": "HTTP method (GET, POST, PUT, DELETE, etc.)", "type": "string" }, "path": { "description": "API path", "type": "string" }, "pathVariables": { "description": "Variables to replace in the path", "type": "object" }, "queryParams": { "description": "Query parameters", "type": "object" } }, "required": [ "actionId", "connectionKey", "method", "path" ], "type": "object" }