{"uid":"cap_ZzhjIy1NCix5mff8-UDdi","slug":"delx-parse-bool-list-e1444d84","name":"Delx Parse Bool List","description":"Coerce a list of tokens into booleans. Call when you normalize yes/no flags from agent forms. Returns boolean list and count for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.","url":"https://api.delx.ai/api/v1/x402/parse-bool-list","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"items":{"type":"array","description":"Input field: items."}}},"responseSchema":{"type":"json","example":{"count":4,"schema":"delx/util-parse-bool-list/v1","values":[true,false,true,false]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__lLhWGIkpt5ejyEoK0WUf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Coerces a list of mixed-format tokens (yes/no, true/false, 1/0, etc.) into a normalized boolean list with a count","exampleAgentPrompt":"I have a list of tokens from a user form like [\"yes\", \"no\", \"true\", \"1\", \"false\", \"y\"] — can you parse all of those into proper booleans and tell me how many came back true?","exampleUseCases":[{"title":"Normalizing form checkbox flags","prompt":"I collected checkbox answers from an agent form and got back a mix of 'yes', 'true', '1', and 'y' strings — can you normalize that whole list into proper true/false booleans for me?"},{"title":"Cleaning survey yes/no responses","prompt":"I ran a user survey and the answers came back as strings like 'Yes', 'No', 'no', 'TRUE' — can you convert all of them into a clean boolean list and tell me the total count?"},{"title":"Validating agent pipeline flag outputs","prompt":"My agent pipeline produced a list of flag values like ['1', '0', 'false', 'yes', 'n'] — can you coerce all of those into actual booleans so I can use them in the next step?"}],"resultDescription":"Returns a list of normalized boolean values corresponding to each input token, along with a count of the parsed items. No data is retained; results are computed locally and returned as JSON.","failureModes":["Ambiguous tokens that cannot be mapped to a boolean may cause errors or unexpected false coercions","Empty items array returns an empty list with count zero","Malformed request body or missing items field returns a 4xx error","Non-string tokens in the list may cause parsing failures","Payment failure via x402 protocol prevents the call from completing"],"whenToPreferThis":"Choose this endpoint when you need to normalize a batch of mixed-format boolean-like tokens (yes/no, true/false, 1/0, y/n, etc.) into a consistent boolean array in a single call. Prefer it over writing custom parsing logic when operating in an agent pipeline where form or survey inputs arrive in heterogeneous string formats. It is a stateless, cheap ($0.001 USDC), and fast local utility with no external network calls or data retention.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:54:37.902Z","isFirstParty":false}