mirlo-mcp 1.0.0 → 1.0.1
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/dist/tools.js +3 -0
- package/package.json +1 -1
- package/src/tools.ts +3 -0
package/dist/tools.js
CHANGED
|
@@ -168,7 +168,10 @@ const createTicket = {
|
|
|
168
168
|
title: z.string().describe('Ticket title'),
|
|
169
169
|
body_html: z.string().optional().describe('Ticket description'),
|
|
170
170
|
priority: z.enum(['low', 'normal', 'high', 'urgent']).optional().default('normal'),
|
|
171
|
+
project_id: z.string().optional().describe('Project UUID — determines ticket prefix (e.g. WOZ, SOT). List projects via mirlo_list_tickets to see available project_ids.'),
|
|
171
172
|
owner_id: z.string().optional().describe('Assignee member UUID'),
|
|
173
|
+
requester_id: z.string().optional().describe('Contact UUID of the requester'),
|
|
174
|
+
account_id: z.string().optional().describe('Account UUID'),
|
|
172
175
|
}),
|
|
173
176
|
handler: async (client, args) => client.createTicket({ ...args, source: 'api' }),
|
|
174
177
|
};
|
package/package.json
CHANGED
package/src/tools.ts
CHANGED
|
@@ -195,7 +195,10 @@ const createTicket: ToolDef = {
|
|
|
195
195
|
title: z.string().describe('Ticket title'),
|
|
196
196
|
body_html: z.string().optional().describe('Ticket description'),
|
|
197
197
|
priority: z.enum(['low', 'normal', 'high', 'urgent']).optional().default('normal'),
|
|
198
|
+
project_id: z.string().optional().describe('Project UUID — determines ticket prefix (e.g. WOZ, SOT). List projects via mirlo_list_tickets to see available project_ids.'),
|
|
198
199
|
owner_id: z.string().optional().describe('Assignee member UUID'),
|
|
200
|
+
requester_id: z.string().optional().describe('Contact UUID of the requester'),
|
|
201
|
+
account_id: z.string().optional().describe('Account UUID'),
|
|
199
202
|
}),
|
|
200
203
|
handler: async (client, args) => client.createTicket({ ...args, source: 'api' }),
|
|
201
204
|
};
|