Draft AGENTS.md, JSON-LD, alt text or answer-first headings
generate_draftDraft fixes for a site or repo owner to review, each tied to its sources. kind agents-md: an AGENTS.md (setup, commands, layout, conventions) for a GitHub repo or docs site, every line citing its file and line. jsonld: WebSite/Organization/Product/SoftwareApplication JSON-LD built only from facts on the site. alt-text: alt text for images missing it, from image descriptions. answers: per H2 section, a question-shaped heading and an answer-first sentence drawn only from that section. Drafts never contain URLs, commands or numbers not in the sources. Cached 24h; counts as a new link.
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": {
"url": "<url>",
"kind": "<kind>"
},
"name": "generate_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Any public http(s) link, e.g. "docs.stripe.com/payments", "github.com/honojs/hono", a PDF or a video URL. The scheme is optional. | |
| kind | Yes | What to draft. | |
| fresh | No | Ignore the 24h cache and regenerate. Default false. |