{"uid":"cap_nG-7By6kK2tMHISooPqy5","slug":"delx-bool-parse-fabd70ac","name":"Delx Bool Parse","description":"Parse truthy/falsey strings. Call when agents ingest messy flags like yes/no/1/0/true from tools or forms. Returns a boolean plus the normalized interpretation. $0.001 USDC per successful call via x402 on Base—deterministic first-party JSON, no API key, no subscription, and nothing is billed on structured validation errors.","url":"https://api.delx.ai/api/v1/x402/bool-parse","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"value":{"description":"Truthy/falsey value to parse (true/false/yes/no/1/0 and common variants)."}}},"responseSchema":{"type":"json","example":{"value":true,"schema":"delx/bool-parse/v1","source":"true"}},"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_9cxZ_nvIZMLVcbxxePor8","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":"Parses truthy/falsey strings like yes/no/1/0/true/false into a normalized boolean value with interpretation","exampleAgentPrompt":"Can you parse the string 'yes' into a proper boolean for me — I need to know if it should be treated as true or false?","exampleUseCases":[{"title":"Normalizing form submission flags","prompt":"A user submitted a form and the 'subscribe' field came back as 'y' — can you parse that into a proper boolean so I can store it correctly?"},{"title":"Cleaning up CSV boolean columns","prompt":"I have a CSV where the 'active' column has values like '1', 'yes', and 'true' mixed together — can you parse the value '1' to tell me what boolean it maps to?"},{"title":"Interpreting tool output flag","prompt":"The tool I just called returned 'on' for the enabled flag — can you convert that to a true/false boolean so I can use it in my workflow logic?"}],"resultDescription":"Returns a boolean (true or false) representing the parsed interpretation of the input string, along with the normalized form of the value so the agent knows exactly how the input was understood.","failureModes":["Unrecognized input string that does not map to any known truthy/falsey variant — returns a structured validation error (not billed)","Empty or missing value field — returns a structured validation error","Null or non-string input that cannot be interpreted — returns a structured validation error","Payment failure — call not processed if x402 payment on Base cannot be completed"],"whenToPreferThis":"Choose this endpoint when an agent or pipeline ingests boolean flags from messy sources — forms, CSVs, external APIs, or user input — that may use varied representations like yes/no, 1/0, on/off, true/false, y/n, or other common variants. It is especially useful when you want a deterministic, normalized boolean with no ambiguity, without writing custom parsing logic. Prefer it over ad-hoc string comparison when the input domain is unpredictable or when auditability of the normalization is important.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:25.685Z","isFirstParty":false}