75trust / 100

Grammar Edit Execute

by tradepilotusa.com in Other

x402 APIPassing, checked 1 h ago

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.

POST https://www.tradepilotusa.com/api/agent-commerce/v1/services/grammar_edit/execute

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
790 ms typical, 1.2 s slowest 5%
Last check
1 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://www.tradepilotusa.com/api/agent-commerce/v1/services/grammar_edit/execute" \
  -H "content-type: application/json" \
  -d '{"audience":"Business operations manager","brief":"Edit the supplied text for grammar and clarity while preserving facts and intent; summarize meaningful changes. Use only the supplied fictional example material and clearly identify missing evidence.","source_text":"Fictional example: Example Door Company installs residential entry doors in Dallas. Consultations are available Monday through Friday. The company wants customers to request a consultation before receiving a final quote. The brand voice should be clear and practical. No certifications, guarantees, customer outcomes, or prices are supplied."}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fwww.tradepilotusa.com%2Fapi%2Fagent-commerce%2Fv1%2Fservices%2Fgrammar_edit%2Fexecute
const res = await pay("https://www.tradepilotusa.com/api/agent-commerce/v1/services/grammar_edit/execute", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"audience":"Business operations manager","brief":"Edit the supplied text for grammar and clarity while preserving facts and intent; summarize meaningful changes. Use only the supplied fictional example material and clearly identify missing evidence.","source_text":"Fictional example: Example Door Company installs residential entry doors in Dallas. Consultations are available Monday through Friday. The company wants customers to request a consultation before receiving a final quote. The brand voice should be clear and practical. No certifications, guarantees, customer outcomes, or prices are supplied."}),
});
console.log(await res.json());

Example input

{
  "audience": "Business operations manager",
  "brief": "Edit the supplied text for grammar and clarity while preserving facts and intent; summarize meaningful changes. Use only the supplied fictional example material and clearly identify missing evidence.",
  "source_text": "Fictional example: Example Door Company installs residential entry doors in Dallas. Consultations are available Monday through Friday. The company wants customers to request a consultation before receiving a final quote. The brand voice should be clear and practical. No certifications, guarantees, customer outcomes, or prices are supplied."
}

Example output

{
  "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",
  "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."
  ],
  "provenance": {
    "external_research_performed": false,
    "generated_at": "2026-09-22T14:39:23.250Z",
    "source": "buyer_supplied"
  },
  "request_id": "example_grammar_edit",
  "requires_human_review": true,
  "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",
  "task": "grammar_edit"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
1 h agoPassed4021.1 s$0.25
5 h agoPassed402844 ms$0.25
9 h agoPassed402881 ms$0.25
13 h agoPassed402750 ms$0.25
17 h agoPassed402921 ms$0.25
20 h agoPassed402651 ms$0.25
24 h agoPassed402635 ms$0.25
27 h agoPassed402790 ms$0.25
31 h agoPassed4021.2 s$0.25
34 h agoPassed402670 ms$0.25
37 h agoPassed4021.2 s$0.25
42 h agoPassed402982 ms$0.25
45 h agoPassed402992 ms$0.25
2 days agoPassed402666 ms$0.25
2 days agoPassed402671 ms$0.25