{"uid":"cap_PrPS63eTChtmdnj8wuqGa","slug":"unicode-escape-encode-b1063964","name":"Unicode Escape Encode","description":"Call when an agent needs text encoded with unicode-escape. No network and no LLM. Exact $0.003 USDC. Prefer unpaid POST /v1/sandbox/unicode-escape-encode first.","url":"https://agentshelf.syntexa.ch/v1/unicode-escape-encode?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","examples":["Hello, World!"],"maxLength":100000,"minLength":1,"description":"Input for this SKU. The route description says whether it is plain text, a URL, base64 bytes, or an already-encoded token."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0hNd0ocTxjHZmoKvVtxMc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Encodes a text string using Python-style unicode-escape encoding, returning the escaped byte representation, with no network calls or LLM involvement.","exampleAgentPrompt":"Can you unicode-escape encode this string for me: 'Hello, 世界! 🌍'?","exampleUseCases":[{"title":"Encode multilingual text for config","prompt":"I need to store this Japanese text '日本語テスト' in a config file that only supports ASCII — can you unicode-escape encode it for me?"},{"title":"Escape emoji for safe transport","prompt":"Please unicode-escape encode this string so I can embed it safely in a JSON payload: 'Great job! 🎉🚀'"},{"title":"Debugging character encoding issues","prompt":"Can you give me the unicode-escape representation of 'café résumé naïve' so I can check what the raw escape sequences look like?"}],"resultDescription":"The endpoint returns the unicode-escape-encoded version of the input text string, where non-ASCII and special characters are replaced with \\uXXXX or \\UXXXXXXXX escape sequences, suitable for embedding in ASCII-safe contexts like config files, source code literals, or JSON.","failureModes":["Empty or missing 'text' field returns a validation error","Text exceeding 100,000 characters is rejected","Malformed request body returns a 400 error","Payment not attached or insufficient USDC results in 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need deterministic, offline unicode-escape encoding of a text string without any LLM inference or external network calls. It is ideal for encoding non-ASCII, emoji, or multilingual text into ASCII-safe escape sequences for config files, source code, or data serialization. Prefer the free sandbox POST /v1/sandbox/unicode-escape-encode endpoint first if available; use this paid endpoint when the sandbox is unavailable or rate-limited.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:02.966Z","isFirstParty":false,"canonicalSlug":"unicode-escape-encode-b1063964"}