{"uid":"cap_qFTSjmDkRUylvMLrpV1tt","slug":"creator-desk-boolean-count-utility-5a78ccb5","name":"Creator Desk Boolean Count Utility","description":"Machine-callable x402-paid utilities for autonomous agents.","url":"https://creator-desk-x402-isolated.onrender.com/v1/utility/boolean-count?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"value":{},"options":{"type":"object"}}},"responseSchema":{"type":"json","example":{"result":"example","operation":"boolean_count"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_eT6zOHiHl9gK7QHxE5VrA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Counts boolean (true/false) values within a given input value, returning the tally as a structured result.","exampleAgentPrompt":"Count how many true values are in this array: [true, false, true, true, false] and tell me the total.","exampleUseCases":[{"title":"Audit feature flags in config","prompt":"I have a feature flag object with a bunch of true/false settings — can you count how many features are currently enabled (true) vs disabled?"},{"title":"Tally survey yes/no responses","prompt":"I've got an array of survey responses as true/false values — count how many respondents answered yes (true) for me."},{"title":"Validate boolean completeness in dataset","prompt":"Here's a list of boolean values from my data pipeline — tell me how many are true and how many are false so I can check the ratio."}],"resultDescription":"Returns a JSON object with a 'result' field containing the boolean count and an 'operation' field confirming 'boolean_count'. The result typically includes the tally of true and/or false values found in the input.","failureModes":["Missing or malformed 'value' field returns an error","Non-boolean-containing input may return zero counts or an error","Payment failure via x402 protocol prevents execution","Invalid options object may cause unexpected behavior","Deeply nested structures may not be traversed depending on implementation"],"whenToPreferThis":"Use this endpoint when you need a quick, cheap ($0.01 USDC) machine-callable utility to count boolean values in a data structure without setting up local computation. Best suited for lightweight agent workflows that need on-demand boolean tallying as a microservice step.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:44:21.072Z","isFirstParty":false,"canonicalSlug":"creator-desk-boolean-count-utility-5a78ccb5"}