71trust / 100

Tone Rewrite Execute

by tradepilotusa.com in Other

x402 APIPassing, checked 9 min ago

Adapt supplied text to the requested audience and tone while preserving all factual constraints. 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/tone_rewrite/execute

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
843 ms typical, 1.2 s slowest 5%
Last check
9 min ago
Next check
in 18 min

How to call it

# bash or zsh: see the payment challenge (nothing is charged)
curl -g -i -X POST 'https://www.tradepilotusa.com/api/agent-commerce/v1/services/tone_rewrite/execute' \
  -H 'content-type: application/json' \
  --data-raw '{"audience":"Business operations manager","brief":"Adapt supplied text to the requested audience and tone while preserving all factual constraints. 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%2Ftone_rewrite%2Fexecute
const res = await pay("https://www.tradepilotusa.com/api/agent-commerce/v1/services/tone_rewrite/execute", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: "{\"audience\":\"Business operations manager\",\"brief\":\"Adapt supplied text to the requested audience and tone while preserving all factual constraints. 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": "Adapt supplied text to the requested audience and tone while preserving all factual constraints. 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# Residential Entry Door Installation Services in Dallas\n\nExample Door Company specializes in installing residential entry doors within the Dallas area. Our process is designed to ensure accuracy and satisfaction by requiring customers to request a consultation prior to receiving a final quote. Consultations are available Monday through Friday to accommodate scheduling needs.\n\nThis approach allows us to assess each project individually and provide tailored solutions. We encourage you to contact ",
  "assumptions": [
    "The business operations manager audience prefers clear, practical information without marketing embellishments.",
    "Consultations are an essential step before quoting to ensure accurate project assessment."
  ],
  "evidence_gaps": [
    "Details on certifications or professional qualifications of Example Door Company.",
    "Information on any guarantees or warranties offered."
  ],
  "provenance": {
    "external_research_performed": false,
    "generated_at": "2026-09-22T14:39:25.874Z",
    "source": "buyer_supplied"
  },
  "request_id": "example_tone_rewrite",
  "requires_human_review": true,
  "summary": "The draft presents Example Door Company's residential entry door installation services in Dallas, emphasizing the consultation-first approach and practical scheduling details, tailored for a business ",
  "task": "tone_rewrite"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
9 min agoPassed4021.0 s$0.25
4 h agoPassed4021.2 s$0.25
8 h agoPassed402970 ms$0.25
12 h agoPassed402794 ms$0.25
16 h agoPassed4021.0 s$0.25
19 h agoPassed402654 ms$0.25
23 h agoPassed402786 ms$0.25
26 h agoPassed402653 ms$0.25
30 h agoPassed4021.1 s$0.25
33 h agoPassed4021.0 s$0.25
37 h agoPassed4021.1 s$0.25
40 h agoPassed402690 ms$0.25
44 h agoPassed4021.0 s$0.25
2 days agoPassed402649 ms$0.25
2 days agoPassed4021.2 s$0.25