@clipform/mcp-server 2.2.3 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -67,7 +67,7 @@ Your MCP client lists these automatically on connect (via `tools/list`). Full re
|
|
|
67
67
|
| `clipform_list_forms` | List forms in your workspace with optional filtering. |
|
|
68
68
|
| `clipform_get_form` | Retrieve a form's details including all nodes in sequential order. |
|
|
69
69
|
| `clipform_update_form` | Update a form's title, publish status, settings, or tags. |
|
|
70
|
-
| `clipform_delete_form` |
|
|
70
|
+
| `clipform_delete_form` | Move a form and all its nodes to the trash. |
|
|
71
71
|
| `clipform_add_node` | Add a new node to an existing form. |
|
|
72
72
|
| `clipform_update_node` | Update one or more existing nodes' text, type, config, or options. |
|
|
73
73
|
| `clipform_delete_node` | Delete a node from a form. |
|
|
@@ -17628,7 +17628,7 @@ function registerDeleteFormTool(server) {
|
|
|
17628
17628
|
"clipform_delete_form",
|
|
17629
17629
|
{
|
|
17630
17630
|
title: "Delete Clipform",
|
|
17631
|
-
description: `
|
|
17631
|
+
description: `Move a form and all its nodes to the trash. It stops accepting responses immediately and can be restored later. Requires user confirmation before it runs.`,
|
|
17632
17632
|
inputSchema: {
|
|
17633
17633
|
form_id: external_exports.string().uuid().describe("The form UUID to delete (returned by clipform_create_form, not the short share_id from the URL)"),
|
|
17634
17634
|
confirm: external_exports.boolean().optional().describe(CONFIRM_FIELD_DESCRIPTION)
|
|
@@ -17643,8 +17643,8 @@ function registerDeleteFormTool(server) {
|
|
|
17643
17643
|
async ({ form_id, confirm }) => {
|
|
17644
17644
|
const decision = await confirmDestructive(server, {
|
|
17645
17645
|
alreadyConfirmed: confirm,
|
|
17646
|
-
message: `
|
|
17647
|
-
relay: `Confirmation required:
|
|
17646
|
+
message: `Move form ${form_id} to the trash? It stops accepting responses immediately and can be restored later.`,
|
|
17647
|
+
relay: `Confirmation required: moving form ${form_id} to the trash stops it accepting responses immediately. It can be restored later. Ask the user to confirm, then call clipform_delete_form again with confirm: true.`
|
|
17648
17648
|
});
|
|
17649
17649
|
if (!decision.proceed) {
|
|
17650
17650
|
return textResult(decision.message);
|
|
@@ -17655,7 +17655,7 @@ function registerDeleteFormTool(server) {
|
|
|
17655
17655
|
if (!result.ok) {
|
|
17656
17656
|
return errorResult(result.error);
|
|
17657
17657
|
}
|
|
17658
|
-
return textResult(`Form ${form_id} has been
|
|
17658
|
+
return textResult(`Form ${form_id} has been moved to the trash.`);
|
|
17659
17659
|
}
|
|
17660
17660
|
);
|
|
17661
17661
|
}
|
|
@@ -19979,4 +19979,4 @@ export {
|
|
|
19979
19979
|
RENDER_TIMING,
|
|
19980
19980
|
createServer
|
|
19981
19981
|
};
|
|
19982
|
-
//# sourceMappingURL=chunk-
|
|
19982
|
+
//# sourceMappingURL=chunk-QC4JULCW.js.map
|