categorize_report_documents
ChatGPTLoads the category picker of the case panel: the documents VeriCasa could not identify and the token to apply a category.
complete_report_upload_sessions
ChatGPTFinalizes an upload batch for the report uploader component and returns the resulting document state.
create_report_upload_sessions
ChatGPTCreates private upload sessions from file metadata for the report uploader component. Metadata only: file content, URLs, data URLs, base64, and filesystem paths are not accepted.
delete_report_document
ChatGPTUse when the user asks to remove documents from a property case. Deletes exactly the documents in documentRefs, every one the user asked for in this single call. When any reference matches no document or several, nothing is deleted. It never regenerates the report: when one exists, the result says it no longer matches the documents, and it is regenerated only when the user asks. Refused while a report is being generated. Never infer which document to delete. Without a jobId it deletes from the user's only property case, and with several it lists them instead of deleting.
generate_report
ChatGPTStarts generating the property report for the case panel's Generate report and Regenerate report buttons. Keeps an already running generation instead of starting another.
get_current_user
ChatGPTReturns the data about the user and which organization is active: name, email, the current (default) organization (workspace) that every other tool works in, and the other organizations the user belongs to.
get_report_file_url
ChatGPTReturns a fresh download link for one generated report file. Generated links expire, so the report results component requests one each time the user opens a file. The link is returned to the component only.
get_report_results
ChatGPTReturns the current report of one property case as text, with no panel: its extracted text, problems and PDF files. Waits up to a minute for a running generation. Use to answer questions about the report and for the report panel's messages that only ask to summarize the report or what changed in it. Without a jobId it reads the user's most recent property case.
get_report_status
ChatGPTReturns one property case as text: its state, documents, missing documents, report version and Next action. Call it for every question about a case's documents, missing documents or state, even when an earlier result answered it: documents change in the case panel without the chat seeing it. Never waits and shows no panel. Without a jobId it returns the user's most recent property case and lists the other recent ones with their jobIds: use that whenever the jobId is not in context.
open_report_uploader
ChatGPTShows the panel of one property case, where the user uploads property documents (identity documents are not accepted), chooses categories, removes unusable documents and generates the report with Generate report or, after document changes, Regenerate report. Use when the user starts a property report, wants to change its documents, or says they have documents to add: open it again each time instead of pointing to an earlier panel. new creates a case; existing shows one, by its jobId or without it the user's most recent one, and never creates one.
open_report_viewer
ChatGPTShows the latest report of one property case in the report panel without generating one, and returns its text to summarize. Never waits: while a generation runs the panel shows its progress and sends a message when the report is ready. Use when the user asks to see the report, and for the case panel's messages that say "Show it": that the report is ready, or that it was regenerated after document changes. Without a jobId it shows the user's most recent property case.
select_report_document_category
ChatGPTApplies one document category chosen in the categorization component.
set_default_organization
ChatGPTUse when the user names which organization to work in. Replaces their saved default organization when the name matches exactly one organization they belong to. Every later tool uses that organization.
submit_report
ChatGPTGenerates the property report of one case for every request to generate it that the user types: the first report after the user confirms it, a retry or a regeneration. Never for a panel's message: the case panel's Generate report button generates the report itself. Called even when an earlier result said the case was not ready: it checks the case at that moment and refuses with what blocks it. A generation already running is kept instead of starting a second one. Starts the generation and returns at once: the report panel shows its progress and sends a message when the report is ready, which is when it is summarized. Without a jobId it generates for the user's only property case, and with several it lists them instead of generating.