{"uid":"cap_MlmoqPkdReMeUFCFw_PAy","slug":"agentshelf-syntexa-ch-lines-number-ec15f64c","name":"agentshelf.syntexa.ch Lines Number","description":"Call when an agent needs lines of text transformed with number. No network. Exact $0.003 USDC. Prefer unpaid POST /v1/sandbox/lines-number first.","url":"https://agentshelf.syntexa.ch/v1/lines-number?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","examples":["b\na\n"],"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_a9W2GDYZSuZObEiU4ZbnW","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":"Adds line numbers to each line of a given text string, returning the numbered version offline with no external network calls.","exampleAgentPrompt":"Can you add line numbers to every line of this text? Here it is: 'First line of content\nSecond line of content\nThird line of content'","exampleUseCases":[{"title":"Numbered code snippet for review","prompt":"Take this Python code snippet and add line numbers to each line so reviewers can refer to specific lines easily: 'def foo():\n    x = 1\n    return x'"},{"title":"Annotated log output for debugging","prompt":"I've got a raw log dump and I need every line numbered so I can reference them in my bug report — here's the log text: 'INFO server started\nWARN disk usage high\nERROR connection refused'"},{"title":"Formatted prose for editorial markup","prompt":"Please number each line of this paragraph draft so my editor can give me line-by-line feedback: 'The sun rose slowly.\nBirds began to sing.\nThe town came alive.'"}],"resultDescription":"Returns the input text with each line prefixed by its sequential line number, enabling easy reference to specific lines within the content. The response is computed locally with no external network requests.","failureModes":["Empty or missing 'text' field returns a validation error","Text exceeding 100,000 characters is rejected","Payment of exactly $0.003 USDC required; incorrect payment amount results in 402 error","Malformed request body returns 400 bad request"],"whenToPreferThis":"Choose this endpoint when you need a simple, deterministic, offline transformation that prefixes sequential line numbers to each line of a text block. It is ideal for formatting code snippets, log files, or prose for review, and is preferred over building custom numbering logic when a cheap, reliable micro-service call is acceptable. Use the free sandbox POST /v1/sandbox/lines-number first if available to avoid cost during testing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:13.145Z","isFirstParty":false,"canonicalSlug":"agentshelf-syntexa-ch-lines-number-ec15f64c"}