Skip to main content
POST
Execute tool

Authorizations

x-api-key
string
header
required

Project API key. Create and manage keys in the dashboard under Project → API Keys. Send as header: x-api-key:

Headers

x-username
string
default:(project default user)

External user (end user) to act as. Optional — if omitted, Flowra uses the project’s default external user. Send a stable username (e.g. customer_alice) only when you need another end-user context.

Path Parameters

toolSlug
string
required

Tool slug from DISCOVER / GET /tools (e.g. gmail_send_email)

Example:

"gmail_send_email"

Body

application/json
connectedAccountId
string

Connected account ID

Example:

"account_123"

mcpServerId
string

MCP server owner id (toolsMode / discovery / pins)

Example:

"3fa85f64-5717-4562-b3fc-2c963f66afa6"

metaSessionId
string

Ephemeral meta session id from DISCOVER_TOOLS

Example:

"meta_sess_01HZX"

version
string

Tool version

Example:

"2.0.0"

customAuthParams
object
customConnectionData
object
arguments
object

Tool arguments matching the tool’s input JSON Schema

Example:
text
string

Natural language description of what to accomplish

Example:

"Send a message to the #general channel"

allowTracing
boolean
default:false

Allow tracing for debugging

Example:

false

proxyUrl
string

One-off outbound proxy for this execution only (http(s) or socks). Not persisted in outbound_proxies. Takes precedence over the server default proxy and over proxyUrl on connection val.

Example:

"http://127.0.0.1:7890"

invokeViaMcp
boolean
default:false

Internal: MCP invocation flag

preferOwnerConnectionBinds
boolean
default:false

Internal: prefer owner connection binds

Response

Tool executed successfully

success
boolean
required

Success status

Example:

true

message
string
required

Success message

Example:

"Operation completed successfully"

data
object
required
Example: