{"responseCode":200,"message":"success","content":{"server":{"id":"default"},"tools":[{"name":"analyze_submissions","title":"Analyze Submissions","description":"Perform deep AI-powered analysis on one or more forms' submissions.\nUse this tool when the user wants insights, patterns, statistics, trends, or summaries derived from submission data.\nThis tool requires formIDs\u2014use search first if you need to find the form IDs.\nSupports analyzing multiple forms in parallel; results are combined into a single response.\nExamples: \"What are the most common responses?\", \"Show trends in submission dates\", \"Analyze sentiment in feedback\", \"Give me a statistical summary\".\nDo NOT use this tool for simply listing or browsing submissions\u2014use list_submissions instead.\n\nCHUNKED ANALYSIS (important): For large datasets this tool splits results into chunks. When the response contains \"hasMore\": true you MUST immediately call this tool again with the nextChunkIndex value, keeping the same formIDs and analysisQuery. Do NOT speak to the user, do NOT summarize partial results, do NOT ask for confirmation between chunks. Silently continue fetching every chunk until hasMore is false. Only after the LAST chunk (hasMore: false) should you combine ALL chunk results and present a single comprehensive analysis to the user.","summary":"Perform deep AI-powered analysis on one or more forms' submissions.\nUse this tool when the user wants insights, patterns, statistics, trends, or summaries derived from submission data.\nThis tool requires formIDs\u2014use search first if you need to find the form IDs.\nSupports analyzing multiple forms in parallel; results are combined into a single response.\nExamples: \"What are the most common responses?\", \"Show trends in submission dates\", \"Analyze sentiment in feedback\", \"Give me a statistical summary\".\nDo NOT use this tool for simply listing or browsing submissions\u2014use list_submissions instead.\n\nCHUNKED ANALYSIS (important): For large datasets this tool splits results into chunks. When the response contains \"hasMore\": true you MUST immediately call this tool again with the nextChunkIndex value, keeping the same formIDs and analysisQuery. Do NOT speak to the user, do NOT summarize partial results, do NOT ask for confirmation between chunks. Silently continue fetching every chunk until hasMore is false. Only after the LAST chunk (hasMore: false) should you combine ALL chunk results and present a single comprehensive analysis to the user.","inputSchema":{"type":"object","properties":{"formIDs":{"type":"array","items":{"type":"string"},"description":"Form IDs whose submissions will be analyzed. Provide a single form ID by default. Only supply more than one ID when the user explicitly requests cross-form comparison or combined analysis. Use the search tool first if you need to find the form ID."},"analysisQuery":{"type":"string","description":"A natural-language query describing the desired analysis. Examples: \"What are the most common responses?\", \"Show submission trends by month\", \"Analyze sentiment in feedback\", \"Give me a statistical breakdown of all answers\"."},"limit":{"type":"number","description":"Maximum number of submissions to include in the analysis. Higher values provide more comprehensive results but increase processing time.","default":10000},"chunkIndex":{"type":"number","description":"Zero-based chunk index for large dataset analysis. Always start at 0. When hasMore is true in the response, immediately call again with nextChunkIndex without speaking to the user.","default":0}},"required":["formIDs","analysisQuery"]},"outputSchema":null,"outputMode":"unstructured","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"hasUI":false,"preventRetry":true},{"name":"assign_form","title":"Assign Form","description":"Assign a form to a email address","summary":"Assign a form to a email address","inputSchema":{"type":"object","properties":{"form_id":{"type":"string","description":"The ID of the form to assign"},"assignee_email":{"type":"string","description":"The email address to assign the form to"},"assignee_name":{"type":"string","description":"The name of the assignee. This will be used in the email that will be sent to the assignee."},"assignee_message":{"type":"string","description":"The message to assign the form to. This will be used in the email that will be sent to the assignee."}},"required":["form_id","assignee_email"]},"outputSchema":null,"outputMode":"unstructured","annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"hasUI":false,"preventRetry":false},{"name":"create_form","title":"Create Form","description":"Create a new form based on the user's prompt","summary":"Create a new form based on the user's prompt","inputSchema":{"type":"object","properties":{"description":{"type":"string","description":"Description of the form to create"}},"required":["description"]},"outputSchema":{"type":"object","properties":{"is_success":{"type":"boolean","description":"Whether the tool execution succeeded."},"message":{"type":"string","description":"Human-readable result description."},"error":{"type":"string","description":"Error description (present only on failure)."},"data":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the created form."},"url":{"type":"string","description":"The URL of the created form."},"created_questions":{"type":"array","description":"The questions of the created form.","items":{"type":"string"}}},"additionalProperties":true}},"required":["is_success","message","error","data"]},"outputMode":"structured","annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"hasUI":false,"preventRetry":true},{"name":"edit_form","title":"Edit Form","description":"Edit a form based on the user's prompt. Use high-level natural-language instructions only (e.g., \"Add a name question at the top\", \"Move the email question to the end\"). Do not specify internal field types, control names, or IDs. Another agent will map your intent to exact field types.","summary":"Edit a form based on the user's prompt. Use high-level natural-language instructions only (e.g., \"Add a name question at the top\", \"Move the email question to the end\"). Do not specify internal field types, control names, or IDs. Another agent will map your intent to exact field types.","inputSchema":{"type":"object","properties":{"form_id":{"type":"string","description":"The ID of the form to edit"},"description":{"type":"string","description":"High-level natural-language instruction describing what to change (e.g., add\/move\/rename questions). Avoid specifying internal types or identifiers; another agent will infer the appropriate field types."}},"required":["form_id","description"]},"outputSchema":{"type":"object","properties":{"is_success":{"type":"boolean","description":"Whether the tool execution succeeded."},"message":{"type":"string","description":"Human-readable result description."},"error":{"type":"string","description":"Error description (present only on failure)."},"data":{"type":"object","properties":{"edited_form":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the edited form."},"url":{"type":"string","description":"The URL of the edited form."},"changes":{"type":"string","description":"The changes made to the form."}},"required":["id","url"]}},"additionalProperties":true}},"required":["is_success","message","error","data"]},"outputMode":"structured","annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":false},"hasUI":false,"preventRetry":true},{"name":"fetch","title":"Fetch","description":"This tool is fetching information and metadata from the Jotform based on a form id or a submission id","summary":"This tool is fetching information and metadata from the Jotform based on a form id or a submission id","inputSchema":{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9]+$","description":"The form id or the submission id to fetch information and metadata from"}},"required":["id"]},"outputSchema":null,"outputMode":"unstructured","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"hasUI":false,"preventRetry":false},{"name":"get_submissions","title":"List Submissions","description":"List submission IDs for a form, with optional filters","summary":"List submission IDs for a form, with optional filters","inputSchema":{"type":"object","properties":{"form_id":{"type":"string","description":"The ID of the form to list submissions from"},"filter":{"type":"object","properties":{"limit":{"type":"number","description":"Number of submissions to return (default: 20)","default":20},"offset":{"type":"number","description":"Starting position for fetching submissions (default: 0)","default":0},"orderby":{"type":"string","description":"Field to order by (default: created_at)","default":"created_at","enum":["created_at","updated_at"]},"direction":{"type":"string","description":"Direction to order by (default: DESC)","default":"DESC","enum":["ASC","DESC"]},"created_at:gt:datetime":{"type":"string","description":"Filter submissions created after this datetime (exclusive)","example":"YYYY-MM-DD HH:MM:SS"},"created_at:lte:datetime":{"type":"string","description":"Filter submissions created at or before this datetime (inclusive)","example":"YYYY-MM-DD HH:MM:SS"}},"required":["limit","offset"]}},"required":["form_id"]},"outputSchema":{"type":"object","properties":{"is_success":{"type":"boolean","description":"Whether the tool execution succeeded."},"message":{"type":"string","description":"Human-readable result description."},"error":{"type":"string","description":"Error description (present only on failure)."},"data":{"type":"object","properties":{"form_id":{"type":"string"},"total_count":{"type":"string"},"submissions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"form_id":{"type":"string"},"created_at":{"type":"string"},"status":{"type":"string"},"answers":{"type":"string"}},"required":["id","form_id","created_at","status","answers"]}}},"additionalProperties":true,"required":["form_id","total_count","submissions"]}},"required":["is_success","message","error","data"]},"outputMode":"structured","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"hasUI":false,"preventRetry":false},{"name":"search","title":"Search User Products","description":"Search and list the user's Jotform products of these types only: form, portal (app).\nUse this tool to find products by name or criteria, to list products of one or more types, or to get a product ID for another tool. It does not search submissions.\nproduct_type: array of types to include; [\"ALL\"] covers every available type (form, portal).\nfilter.title_filter: array of plain strings matched against product titles (OR logic, no regex). Matching is per whole word and case-insensitive, with no partial or plural matching: \"invoice\" does not match the title \"Invoices 2024\", so pass every spelling you want covered as its own array element, e.g. [\"invoice\", \"invoices\", \"billing\"]. A multi-word element needs most of its words present in the title, so prefer separate single-word elements to widen a search. Empty array lists all products of the requested types.\nfilter.date_filter: [start, end] creation-date range in YYYY-MM-DD format, or empty array for no date filter.\nfilter.min_submission_count: minimum submission count (forms). 0 disables the filter; products without submission counts are excluded when the filter is set.\nfilter.status_filter: null lists active products. favorited_only lists owned favorited products; archived_only lists owned archived products; trashed_only lists owned trashed products; shared_only lists forms shared with the user; sent_only lists filled forms and contacted agents; drafts_only lists draft submissions; assigned_tasks_only lists approval tasks and assigned forms.\nfilter.date_filter cannot be combined with shared_only\/sent_only\/drafts_only\/assigned_tasks_only, or with an Enterprise server admin's server-wide search: those listings carry no creation date.\nfilter.is_filtered_by_rules: LAST RESORT (extra AI call) \u2014 only when no title keyword can express the criteria, such as the language a title is written in or an abstract topic with no obvious keyword. When the request contains a plausible title word, ALWAYS prefer filter.title_filter, listing several keyword variants (synonyms, singular and plural, translations) in one call rather than setting this true. If both are sent, the keywords are applied first and the AI pass runs only when they match nothing, so it cannot refine keyword matches further. Never present unfiltered results for criteria the filters could not express.\nEnterprise server admins: active-status searches cover ALL assets on the server (with owner and team info, server-wide totals and workflow error counts); owned-state filters stay scoped to the admin's own products.\norder_by: default \"last_activity\"; only use another option when the user asks for a specific sorting.\noutput: \"full\" (default), \"compact\" (id, title, url, type only), or \"count_only\" (per-type counts only).\nExamples: (1) product_type=[\"ALL\"], filter.title_filter=[\"invoice\", \"invoices\"] to find products whose title contains either word; (2) product_type=[\"form\"] to list products of one type; (3) filter.status_filter=\"trashed_only\" to list trashed products.","summary":"Search and list the user's Jotform products of these types only: form, portal (app).\nUse this tool to find products by name or criteria, to list products of one or more types, or to get a product ID for another tool. It does not search submissions.\nproduct_type: array of types to include; [\"ALL\"] covers every available type (form, portal).\nfilter.title_filter: array of plain strings matched against product titles (OR logic, no regex). Matching is per whole word and case-insensitive, with no partial or plural matching: \"invoice\" does not match the title \"Invoices 2024\", so pass every spelling you want covered as its own array element, e.g. [\"invoice\", \"invoices\", \"billing\"]. A multi-word element needs most of its words present in the title, so prefer separate single-word elements to widen a search. Empty array lists all products of the requested types.\nfilter.date_filter: [start, end] creation-date range in YYYY-MM-DD format, or empty array for no date filter.\nfilter.min_submission_count: minimum submission count (forms). 0 disables the filter; products without submission counts are excluded when the filter is set.\nfilter.status_filter: null lists active products. favorited_only lists owned favorited products; archived_only lists owned archived products; trashed_only lists owned trashed products; shared_only lists forms shared with the user; sent_only lists filled forms and contacted agents; drafts_only lists draft submissions; assigned_tasks_only lists approval tasks and assigned forms.\nfilter.date_filter cannot be combined with shared_only\/sent_only\/drafts_only\/assigned_tasks_only, or with an Enterprise server admin's server-wide search: those listings carry no creation date.\nfilter.is_filtered_by_rules: LAST RESORT (extra AI call) \u2014 only when no title keyword can express the criteria, such as the language a title is written in or an abstract topic with no obvious keyword. When the request contains a plausible title word, ALWAYS prefer filter.title_filter, listing several keyword variants (synonyms, singular and plural, translations) in one call rather than setting this true. If both are sent, the keywords are applied first and the AI pass runs only when they match nothing, so it cannot refine keyword matches further. Never present unfiltered results for criteria the filters could not express.\nEnterprise server admins: active-status searches cover ALL assets on the server (with owner and team info, server-wide totals and workflow error counts); owned-state filters stay scoped to the admin's own products.\norder_by: default \"last_activity\"; only use another option when the user asks for a specific sorting.\noutput: \"full\" (default), \"compact\" (id, title, url, type only), or \"count_only\" (per-type counts only).\nExamples: (1) product_type=[\"ALL\"], filter.title_filter=[\"invoice\", \"invoices\"] to find products whose title contains either word; (2) product_type=[\"form\"] to list products of one type; (3) filter.status_filter=\"trashed_only\" to list trashed products.","inputSchema":{"type":"object","properties":{"user_query":{"type":"string","description":"A natural-language instruction describing what the user wants to find and list from their products. Used as the filtering criteria when filter.is_filtered_by_rules is true.","default":""},"product_type":{"type":"array","items":{"type":"string","enum":["ALL","form","portal"]},"description":"Product types to include. Use [\"ALL\"] for every available type: form, portal.","default":["ALL"]},"filter":{"type":"object","properties":{"title_filter":{"type":"array","items":{"type":"string"},"description":"Array of plain strings for product title matching (OR logic). Regex is not supported. Whole-word, case-insensitive matching only \u2014 \"invoice\" does not match the title \"Invoices 2024\" \u2014 so pass each spelling as its own element, e.g. [\"invoice\", \"invoices\"]. Empty array lists all products.","default":[]},"date_filter":{"type":"array","items":{"type":"string","format":"date"},"description":"Creation-date range in YYYY-MM-DD format: [start, end]. Empty array disables the date filter.","default":[]},"min_submission_count":{"type":"number","description":"Minimum number of submissions to filter by. 0 disables the filter. Use 1 to find forms that have submissions.","default":0},"status_filter":{"type":["string","null"],"enum":["favorited_only","archived_only","trashed_only","shared_only","sent_only","drafts_only","assigned_tasks_only",null],"description":"Product state filter. null (default) lists active products.","default":null},"is_filtered_by_rules":{"type":"boolean","description":"LAST RESORT \u2014 costs an extra AI call. Set to true ONLY when no title keyword can express the criteria, such as constraints on the language a title is written in, or an abstract topic with no obvious keyword. If any word from the user's request could plausibly appear in matching titles, use filter.title_filter instead and keep this false, listing several variants (synonyms, singular and plural, translations) in one call. When sent together with title_filter, the keywords run first and this AI pass only takes over if they match nothing.","default":false}},"required":["title_filter","date_filter","min_submission_count","status_filter","is_filtered_by_rules"],"additionalProperties":false,"default":{"title_filter":[],"date_filter":[],"min_submission_count":0,"status_filter":null,"is_filtered_by_rules":false}},"order_by":{"type":"string","enum":["last_activity","most_recent_created","least_recent_created","submissions_count","last_submission"],"description":"Sort order for the results. Default \"last_activity\"; only use another option when a specific sorting is requested.","default":"last_activity"},"limit":{"type":"number","description":"Maximum number of products returned. Defaults to 20 and is capped at 50.","default":20},"output":{"type":"string","enum":["full","compact","count_only"],"description":"Detail level: full (default), compact (id, title, url, type), count_only (per-type counts only).","default":"full"}},"required":["user_query","product_type","filter","order_by","limit","output"],"additionalProperties":false},"outputSchema":null,"outputMode":"unstructured","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"hasUI":false,"preventRetry":false}]},"duration":"36.09ms","info":null}