{"uid":"cap_45e9j50S1m1djo9pbq7yD","slug":"tradepilotusa-grammar-edit-b84bccf2","name":"TradepilotUSA Grammar Edit","description":"Edit the supplied text for grammar and clarity while preserving facts and intent; summarize meaningful changes. Uses buyer-supplied information only; no external research or outbound actions. Returns a draft for human review.","url":"https://www.tradepilotusa.com/api/agent-commerce/v1/services/grammar_edit/execute?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"brief":{"type":"string","maxLength":12000,"minLength":10},"audience":{"type":"string","maxLength":500},"source_text":{"type":"string","maxLength":32000}}},"responseSchema":{"type":"json","example":{"task":"grammar_edit","summary":"The text was edited for grammar and clarity, restructuring sentences for smoother flow while preserving all original facts and intent. The brand voice directive was maintained. Missing details such as","artifact":"Illustrative excerpt from a synthetic provider check:\n## Business Draft: Example Door Company Consultation Process\n\nExample Door Company specializes in installing residential entry doors in Dallas. Consultations are offered Monday through Friday. Customers are encouraged to request a consultation prior to receiving a final quote. The brand voice is clear and practical.\n\n### Notes\n- No certifications, guarantees, customer outcomes, or pricing information have been provided.\n\n","provenance":{"source":"buyer_supplied","generated_at":"2026-09-22T14:39:23.250Z","external_research_performed":false},"request_id":"example_grammar_edit","assumptions":["The company operates only in Dallas.","Consultations are limited to weekdays (Monday through Friday)."],"evidence_gaps":["No information on certifications held by the company.","No guarantees or warranties offered by the company."],"requires_human_review":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.25","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.25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7CFYF9kbSqFhPMHx9pjHO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Edits and proofreads submitted text for grammar, clarity, and sentence flow while preserving the original facts, intent, and brand voice.","exampleAgentPrompt":"Can you fix the grammar and clean up the flow of this business proposal draft? The audience is potential commercial clients. Here's the text: [paste text]. Keep all the facts and our brand voice intact.","exampleUseCases":[{"title":"Polishing a client-facing proposal","prompt":"Take this consulting proposal draft and fix any grammar issues, improve sentence flow, and make it sound professional for a B2B audience — but don't change any of the facts or pricing details I've included."},{"title":"Cleaning up a service description for a website","prompt":"I need you to edit this service description for my HVAC company's website so the grammar is correct and it reads smoothly — the audience is homeowners in Dallas and I want to keep the friendly, practical tone."},{"title":"Proofreading a customer invoice note","prompt":"Can you proofread this note I'm adding to a customer invoice and fix any grammar mistakes? Keep it short and professional — it's going to residential customers who just had their entry doors installed."}],"resultDescription":"Returns a JSON object containing: an edited text artifact with grammar and clarity improvements applied, a summary of the changes made, a list of assumptions the editor made, identified evidence gaps, a provenance block (source, timestamp, whether external research was performed), a unique request ID, and a requires_human_review flag.","failureModes":["source_text missing or too short (minLength: 10) — returns validation error","source_text exceeds 32,000 character limit — rejected with input too long error","brief exceeds 12,000 character limit — rejected with input too long error","audience exceeds 500 character limit — rejected","payment not received or insufficient — x402 payment required error","Ambiguous or contradictory brief may result in assumptions that require human review","Highly technical or domain-specific content may produce inaccurate edits flagged via evidence_gaps"],"whenToPreferThis":"Choose this endpoint when you need grammar correction and clarity improvements on business text while preserving all original facts and intent. It is particularly suited to business operations contexts (proposals, invoices, emails, service descriptions) where brand voice preservation and a provenance audit trail matter. Prefer it over generic LLM-based editing when you need structured output including change summaries, assumptions, and a human-review flag for compliance or quality assurance workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T00:44:26.461Z","isFirstParty":false,"canonicalSlug":"tradepilotusa-grammar-edit-b84bccf2"}