You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Tool definition for creating a task from template
164
+
*/
165
+
exportconstcreateTaskFromTemplateTool={
166
+
name: "create_task_from_template",
167
+
description: `Creates a task from a ClickUp template in a list. Use listId (preferred) or listName + templateId. Required: templateId + list info. Optional: custom name override.`,
168
+
inputSchema: {
169
+
type: "object",
170
+
properties: {
171
+
templateId: {
172
+
type: "string",
173
+
description: "REQUIRED: ID of the task template to use for creating the task."
174
+
},
175
+
listId: {
176
+
type: "string",
177
+
description: "REQUIRED (unless listName provided): ID of the list to create the task in. If you have this ID from a previous response, use it directly rather than looking up by name."
178
+
},
179
+
listName: {
180
+
type: "string",
181
+
description: "REQUIRED (unless listId provided): Name of the list to create the task in - will automatically find the list by name."
182
+
},
183
+
name: {
184
+
type: "string",
185
+
description: "Optional: Override the default name from the template. Put a relevant emoji followed by a blank space before the name if provided."
186
+
}
187
+
},
188
+
required: ["templateId"]
189
+
}
190
+
};
191
+
192
+
/**
193
+
* Tool definition for getting task templates
194
+
*/
195
+
exportconstgetTaskTemplatesTool={
196
+
name: "get_task_templates",
197
+
description: `Retrieves all available task templates for the workspace/team. No parameters required - returns all templates the user has access to.`,
0 commit comments