{"uid":"cap_l78jfajFIu8NIYIP0BACt","slug":"object-from-entries-utility-dbbb2722","name":"Object From Entries Utility","description":"Machine-callable x402-paid utilities for autonomous agents.","url":"https://creator-desk-x402-isolated.onrender.com/v1/utility/object-from-entries?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"value":{},"options":{"type":"object"}}},"responseSchema":{"type":"json","example":{"result":"example","operation":"object_from_entries"}},"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_PXicDmaigeCAHRjdKjmPu","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":"Converts an array of key-value entry pairs into a plain object, analogous to JavaScript's Object.fromEntries()","exampleAgentPrompt":"Take these key-value pairs — [['name', 'Alice'], ['age', 30], ['city', 'NYC']] — and convert them into a single object for me.","exampleUseCases":[{"title":"Reconstruct config object from pairs","prompt":"I have a list of config entries like [['timeout', 5000], ['retries', 3], ['debug', true]] — can you turn those into a proper config object?"},{"title":"Flatten API response entries","prompt":"I got back an entries array from a previous step: [['id', 'abc123'], ['status', 'active'], ['score', 99]] — merge those into a single JSON object."},{"title":"Build query params object","prompt":"Convert these URL parameter pairs [['page', '1'], ['limit', '25'], ['sort', 'desc']] into a single parameters object I can pass to the next call."}],"resultDescription":"Returns a JSON object with a 'result' field containing the constructed object built from the input entries, and an 'operation' field confirming 'object_from_entries'.","failureModes":["Malformed input entries (non-array or non-pair elements) may cause a 400 error","Duplicate keys in entries may result in last-value-wins behavior without warning","Empty entries array returns an empty object rather than an error","Payment failure via x402 returns a 402 status before processing occurs"],"whenToPreferThis":"Choose this endpoint when an agent needs a simple, deterministic, pay-per-call transformation of entry pairs into a plain object without spinning up local code execution. Useful when operating in a sandboxed or stateless agent environment where JavaScript's Object.fromEntries() is unavailable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:41:26.540Z","isFirstParty":false,"canonicalSlug":"object-from-entries-utility-dbbb2722"}