test_request
Run a configured builder request with a real credential to inspect the exact URL, headers, body, mapped response, unmapped fields, pagination, errors, and async behavior before publishing.
Instructions
Run a configured builder request with a real credential and return what was sent and what came back: the final URL, request headers and body, the raw response body and the parsed data after mapping and scripts. Plus responseAudit: which fields of the live response remained unmapped, showing whether the whole entity is parsed; errorHandling with a ready error handler if the version doesn't have one yet; and pagination, for a list request: the run doesn't stop at the first page but goes through all of them, like a bundle, and shows the last one; wizard: which wizard step was sent under which number and which {{credentialWizard.…}} were left without a value; parent, for a child-list request: the parent substitution is empty in a test run, and how to check otherwise; rowSections, for a request that builds an array from a row section: how to pass its fields and why there is only one row in a test run; systemVars, for a request with {{systemVar.…}}: what was substituted, from where, and what was sent empty; async, for a request with an async handler and for a polling request (asyncRequests): whether the step would wait on this response, with what data, and whether the polling response means "done" or "not done yet"; migration, for a data migration request: how a test run differs from the export. The main debugging tool: run after every request change. The request goes to the partner's real API on behalf of a real connection and can create or delete data there, so it requires the user's confirmation.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"appId": "<appId>",
"versionId": "<versionId>",
"requestId": "<requestId>",
"credentialId": "<credentialId>",
"confirmed": "<confirmed>"
},
"name": "test_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Entity field values: {"<field code>": "<value>"}. Row section fields are passed flat too, by their own codes, whatever they are, not as an array under the section code: {"<section field code>": "…"}, not {"<section code>": [{…}]}. A section of exactly one row is built from them | |
| appId | Yes | App ID. Not needed only for resource: "apps" | |
| confirmed | Yes | The user confirmed the test run in chat | |
| requestId | Yes | Request ID | |
| versionId | Yes | Version ID. Not needed for resource: "apps" and "versions". Only a private version is writable; ensure_editable_version tells you which one | |
| credentialId | Yes | ID of the credential to run the request on behalf of | |
| credentialWizardData | No | Entity wizard step values: {"<step code>": "<key>"} or {"<step number from 1>": "<key>"}. The backend reads them only by number (step 0 is the connection, set by credentialId); the tool maps codes itself. The key is what goes into {{credentialWizard.<code>}} |