publishing_kdp_description
Book description HTML formatter
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "publishing_kdp_description"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | HTML to clean to the tags KDP allows; what was removed or changed is reported. Script, style, head, title and noscript elements are removed with their content; if one is never closed, everything after its opening tag is removed too. | |
| text | No | Plain text; blank lines make paragraphs. null is treated as omitted. Send text or html. Missing, empty and whitespace-only input all return the same 400 "Send text or html.". html wins when both have content. | |
| heading | No | Tag used for headings. Default h4. null is treated as omitted. |