api_writing_structural_editor
Use customer-funded OpenAI Responses model to edit caller-owned drafts for a specific audience and return revised copy, changes and unsupported factual claims in structured JSON. One call costs 0.01 USDC on Base x402; customer-owned provider credentials use X-Provider-Key header where needed.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"draft": "<draft>",
"audience": "<audience>",
"goal": "<goal>"
},
"name": "api_writing_structural_editor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | Editorial objective; customer OpenAI API key in X-Provider-Key | |
| draft | Yes | Caller-owned draft text up to 8000 characters | |
| audience | Yes | Intended audience |