add_draft
ChatGPTAdds a new draft of a form for the user, pre-filled with values, and returns its details. The user has to own the form; a form that was only shared with them cannot be started. The draft is on the form's active version unless a formVersionId picks another.
get_document_content
ChatGPTAnswers with an address to fetch the values a document was filled in with, and the revision they come from. Pass inlineContent for the values themselves, on its own or together with aliases to read only the few they name. Not for a document that is only shared with the user; a share opens the pdf, not the values.
get_document_details
ChatGPTReturns the metadata of one document: name, the form it was filled in on, the revision it is at, timestamps, and when retention removes it automatically.
get_document_file
ChatGPTAnswers with an address to fetch one file of a document: an image it shows in its images overview, a file attached to it, or an image an earlier revision showed. The blobId identifies the file on its own, without a revision. Pass inline for the file itself alongside the address.
get_document_pdf
ChatGPTAnswers with an address to fetch a document as the pdf it was finalized as. A pdf cannot travel through the conversation, so the address is all this answers with. A Word version is only available from the document itself in Incontrol.INSPECT.
get_document_revision_content
ChatGPTAnswers with an address to fetch the values one revision of a document was filled in with, and the note its author wrote. Takes any revision, the current one included. Pass inlineContent for the values themselves. Not for a document that is only shared with the user.
get_document_revision_pdf
ChatGPTAnswers with an address to fetch one revision of a document as the pdf that revision was finalized as. Takes any revision, the current one included. Not for a document that is only shared with the user.
get_documentation
ChatGPTReturns one documentation page as markdown: draftimport. The draftimport page describes the values add_draft fills a draft with — the shape of the object, the value every element type takes, the aliases an import cannot fill, and what a refused import reports. It holds for every form, so the aliases of one form come from get_form_import_details.
get_draft_content
ChatGPTAnswers with an address to fetch the values a draft holds as they stand now. Pass inlineContent for the values themselves. Only for a draft the user owns; a draft that was only shared with them is read by the user who owns it. Reading a draft leaves it as it was and adds no version.
get_draft_details
ChatGPTReturns the metadata of one draft: name, the form it was started from, revision, whether it is incomplete, and timestamps.
get_form_details
ChatGPTReturns the metadata of one form: name, the language its documents are generated in, and timestamps.
get_form_import_details
ChatGPTAnswers every alias of a form that an import can fill, with the type of element it belongs to, and a dynamic or repeater holding the aliases of its items as its children, so the values of add_draft can be built from what the form has instead of from a guess. An alias that holds a value only the form itself builds, such as a label or a calculation, is not listed. The aliases are those of the form's active version unless a formVersionId picks another. get_documentation('draftimport') describes the value each element type takes.
get_link_templates
ChatGPTReturns the address of every kind of record this connection can link to, so a user can open one in Incontrol.INSPECT. Each address carries idPlaceholder where the record's own Id goes; swap it in, and compose no address of your own. The answer holds for the whole connection, so read it once and reuse it. Show the record's name as the link, not a bare address or an Id, and offer none for a record a tool reports as removed or out of the user's reach.
get_me
ChatGPTReturns the user and organization this connection acts as. Every tool runs with exactly this user's permissions.
list_document_files
ChatGPTLists the files of one document, with their size: the images it shows in its images overview, and the files attached to it.
list_document_revision_images
ChatGPTLists the images one revision of a document showed in its images overview. Takes any revision, the current one included. Attachments are not kept per revision. Not for a document that is only shared with the user.
list_document_revisions
ChatGPTLists the revisions of one document, newest first, each with the note its author wrote. A document that was never revised returns just the original. Not for a document that is only shared with the user.
list_my_document_activity
ChatGPTLists every document the user has a relation to, newest first, with flags saying what that relation is. Removed documents, documents the user lost access to, and documents shared with one of their teams are included, each flagged with the reason.
list_my_documents
ChatGPTLists the finished documents the user owns or had shared with them, newest first, with their id and name.
list_my_draft_activity
ChatGPTLists every draft the user has a relation to, newest first, with flags saying what that relation is. Removed drafts and drafts that can no longer be opened are included, each flagged with the reason.
list_my_drafts
ChatGPTLists the drafts the user owns or had shared with them, newest first, with their id and name. Drafts without a finished version are included and flagged as incomplete.
list_my_forms
ChatGPTLists the forms the user can reach through their own teams, newest first, with their id, name and whether the form was only shared with them.
request_image_upload
ChatGPTReturns a single-use address for uploading an image over HTTP, for an image a draft is pre-filled with. The upload verifies the body is a readable image, stores it, and returns a blobId that add_draft takes as an image value. The token is spent by the first upload that succeeds and expires shortly after it was issued, so request one per upload.
request_json_upload
ChatGPTReturns a single-use address for uploading the values of a draft over HTTP, for values too large to pass as a tool argument. The upload returns a jsonId; pass it to add_draft or update_draft as valuesJsonId instead of the values.
request_pdf_upload
ChatGPTReturns a single-use address for uploading a PDF over HTTP, for an attachment or a map a draft is pre-filled with. The upload verifies the body is a PDF, stores it, and returns a blobId that add_draft and update_draft take as an attachment or map value.
update_draft
ChatGPTFills values into a draft that already exists and returns its details. The draft stays on the version of the form it was started on, and a value the draft already holds is only replaced when the values name its alias. Nothing is saved when the values change nothing, so a call that is retried adds no second version. The draft has to be the user's own, and a draft that has no finished version yet cannot be filled.
upload_image
ChatGPTUploads an image sent as an argument, for an image a draft is pre-filled with, and returns a blobId that add_draft takes as an image value. Only for a client that cannot make an HTTP request: the file passes through the conversation as base64, and one over the server's argument cap is refused, which the refusal says. Any other client uploads through request_image_upload. The data must decode as an image; the stored image keeps png or gif format and is otherwise re-encoded as jpg. Until a draft references it, the blobId works only on this connection and only for a draft, and an upload no draft references is dropped after a week.
upload_pdf
ChatGPTUploads a PDF sent as an argument, for an attachment or a map a draft is pre-filled with, and returns a blobId that add_draft and update_draft take as an attachment or map value. Only for a client that cannot make an HTTP request: the file passes through the conversation as base64, and one over the server's argument cap is refused, which the refusal says. Any other client uploads through request_pdf_upload. Until a draft references it, the blobId works only on this connection and only for a draft, and an upload no draft references is dropped after a week.
add_draft
Claudeget_document_content
Claudeget_document_details
Claudeget_document_file
Claudeget_document_pdf
Claudeget_document_revision_content
Claudeget_document_revision_pdf
Claudeget_documentation
Claudeget_draft_details
Claudeget_form_details
Claudeget_form_import_details
Claudeget_link_templates
Claudeget_me
Claudelist_document_files
Claudelist_document_revision_images
Claudelist_document_revisions
Claudelist_form_versions
Claudelist_my_document_activity
Claudelist_my_documents
Claudelist_my_draft_activity
Claudelist_my_drafts
Claudelist_my_forms
Claudelist_organization_forms
Clauderequest_image_upload
Claudeupdate_draft
Claude