FruxonDocs
IntegrationsConfigs

Tests a tool using the published config credentials.

Resolves the tool by ID within the integration and executes it using the credentials from the currently published revision. Returns 400 if the config has no published revision.

POST
/v1/tenants/{tenant}/integrations/{integration}/configs/{config}:testTool
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

integration*string

The integration ID.

config*string

The configuration ID.

Formatuuid
tenant*string

The tenant identifier

The tool ID and input parameters.

toolId*string|null

Tool ID within the integration (e.g. "list_channels").

parameters?|null

Tool input parameters as key-value pairs.

[key: string]?never

Response Body

curl -X POST "https://api.fruxon.com/v1/tenants/string/integrations/string/configs/497f6eca-6276-4993-bfeb-53cbbbba6f08:testTool" \  -H "Content-Type: application/json" \  -d '{    "toolId": "string"  }'
{
  "response": "string"
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}