{"uid":"cap_1I_zai_-WufIVWJ6CluwM","slug":"rtk-command-score-5a86b461","name":"RTK Command Score","description":"Score a shell command for RTK-friendly token discipline: whether to wrap with rtk, risk of huge stdout, and a suggested safer form. Pure heuristic; does not execute the command.","url":"https://quietstore-production.edge-7e13f.workers.dev/v1/tools/rtk-command-score","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object"},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_sa_E1TAICT-MqcmkaTM5U","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Heuristically scores a shell command for RTK token discipline: whether to wrap it with rtk, risk of large stdout, and a safer suggested form — without executing the command.","exampleAgentPrompt":"Score this shell command for RTK token discipline — tell me whether to wrap it with rtk, how risky the stdout volume is, and suggest a safer form if needed: `find / -name '*.log' -exec cat {} \\;`","exampleUseCases":null,"resultDescription":"Returns a heuristic score indicating whether the shell command should be wrapped with rtk, an assessment of the risk that the command will produce large/unbounded stdout, and a suggested safer alternative form of the command. Does not execute the command.","failureModes":["Missing or malformed 'body' object in input returns a validation error","Empty or non-string command field results in a scoring error","Extremely long or complex commands may return low-confidence heuristics","Payment not included or insufficient USDC triggers HTTP 402 response"],"whenToPreferThis":"Use this endpoint when an AI agent needs to decide whether a shell command is safe to run in a token-constrained context, specifically to avoid flooding the agent's context window with huge stdout. Ideal for pre-flight checks before executing shell commands in agentic workflows using RTK as a token-aware proxy.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:32:34.211Z","isFirstParty":false}