Create New Form Using Document
create_new_form_using_documentFull Description
Create a new form from a document (HTML or markdown). Use "html" format when you have layout and formatting from HTML, SCREENSHOT, IMAGE, PDF or any uploaded file. Use "markdown" format when you don't have layout or formatting information, brainstormed in ChatGPT. This tool returns the complete form with all sections and fields.
Output MUST match the "format" parameter. Never mix formats.
format="html" example output: <!DOCTYPE html> <html><head><base target="_top"></head><body> <h1>Title</h1> <h3>Section</h3> <div><p>Choices</p> <p> <input type="radio"/> <input type="text"/></p> <p> <input type="radio"/> <input type="text"/></p> </div> <div><p>Field *</p><p><input type="text"></p></div> <div><p>Notes</p><textarea></textarea></div> </body></html>
format="markdown" example output:
Title
Section
Choices ( ) ___________ ( ) ___________ Field (text) *: ___________ Notes (textarea) : ___________
- after label = required field.
Parameters (3 required)
documentstringHTML or markdown content of the document to be converted.
formatstringFormat type
htmlmarkdownlanguagestringLanguage code for the form (e.g., "en", "es", "fr")