list_fix
Repairs one x402 route's Bazaar discovery metadata from a real sample output and returns a validator-passed discovery package with schema, description, OpenAPI snippets, and paste-in instructions.
Instructions
Repair one x402 route's Bazaar discovery metadata.
Calls ListSmith POST /v1/fix ($0.50 USDC on Base via x402).
Returns a complete repaired discovery package — a full output
schema inferred from your sample, a sub-500-char description with
a use-when sentence, OpenAPI and well-known snippets, and paste-in
instructions. The package ships only if it passes both x402 SDK
validators.
Args:
resource_url: Full URL of the x402 resource to repair.
sample_output: One real response body from the endpoint
(required). The repaired output schema is inferred from
this sample only — nothing is invented.
name: Optional display name for the generated description;
derived from the URL when omitted.
category: Optional category (e.g. token-risk, search, data,
media, monitoring) used to phrase the description's
use-when sentence.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| category | No | ||
| resource_url | Yes | ||
| sample_output | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||