{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Generate a takedown letter from a template. Returns V4 JSON for text format or a PDF binary for pdf format.","properties":{"path":{"type":"object","properties":{"account_id":{"type":"string","minLength":1}},"required":["account_id"],"additionalProperties":false},"body":{"type":"object","properties":{"createNotice":{"type":"boolean","default":false},"fields":{"type":"object","properties":{"discoveryDate":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"domain":{"type":"string","maxLength":500},"generationDate":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"jurisdiction":{"type":"string","maxLength":500},"registrantEmail":{"type":"string","maxLength":500},"registrar":{"type":"string","maxLength":500},"registrarEmail":{"type":"string","maxLength":500},"resolutionByDate":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"senderCompany":{"type":"string","maxLength":500},"senderEmail":{"type":"string","maxLength":500},"senderName":{"type":"string","maxLength":500},"senderTitle":{"type":"string","maxLength":500},"trademarkName":{"type":"string","maxLength":500},"trademarkNumber":{"type":"string","maxLength":500},"trademarkOwner":{"type":"string","maxLength":500}}},"format":{"type":"string","default":"text","enum":["text","pdf"]},"noticeParams":{"type":"object","properties":{"domain":{"type":"string","maxLength":253,"minLength":1},"queryId":{"type":"integer","exclusiveMinimum":0},"status":{"type":"string","default":"sent","enum":["draft","sent","resolved","expired"]}},"required":["domain"]},"templateId":{"type":"string","minLength":1}},"required":["templateId","fields"]}},"required":["path"],"additionalProperties":false},"name":"Generate takedown letter","id":"cloudflare.post_lettergenerate","example":{"path":{"account_id":"example"}},"maxRequests":1,"summary":false}}