@meterapp/car-image-sdk 1.25.0 → 1.27.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 +3 -1
- package/dist/client.d.ts +50 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +150 -1
- package/dist/client.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/mcp/index.d.ts +499 -9
- package/dist/mcp/index.d.ts.map +1 -1
- package/dist/mcp/index.js +244 -15
- package/dist/mcp/index.js.map +1 -1
- package/dist/types.d.ts +184 -8
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +3 -3
- package/dist/types.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/dist/mcp/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/mcp/index.ts"],"names":[],"mappings":"AACA;;;;;;;;;;GAUG;AACH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EA0BL,KAAK,MAAM,EACX,KAAK,aAAa,EACnB,MAAM,aAAa,CAAC;AAerB,eAAO,MAAM,eAAe;aAC1B,IAAI,EAAE,eAAe;aACrB,KAAK,EAAE,eAAe;aACtB,OAAO;aACP,UAAU;CACF,CAAC;AAEX;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,uBAAuB;aAAK,KAAK;iBAAI,WAAW;;CAAoB,CAAC;AAElF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,YAAY;aACvB,IAAI,YAAG,iBAAiB,EAAE,iBAAiB,EAAE,YAAY,EAAE,gBAAgB,EAAE,eAAe,EAAE,uBAAuB,EAAE,aAAa;aACpI,GAAG,YACD,iBAAiB,EACjB,iBAAiB,EACjB,YAAY,EACZ,gBAAgB,EAChB,eAAe,EACf,uBAAuB,EACvB,a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AKG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,CASxE;AAED,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC"}
|
package/dist/mcp/index.js
CHANGED
|
@@ -45,8 +45,11 @@ export const MCP_SERVER_INFO = {
|
|
|
45
45
|
export const MCP_SERVER_CAPABILITIES = { tools: { listChanged: false } };
|
|
46
46
|
/**
|
|
47
47
|
* Which tools a server exposes. `core`, the default, is what an agent needs to
|
|
48
|
-
* look a vehicle up, render it and watch the balance
|
|
49
|
-
* the public surface found
|
|
48
|
+
* look a vehicle up, render it and watch the balance (the 2026-09-29 audit of
|
|
49
|
+
* the public surface found those carrying all of the MCP traffic), plus the
|
|
50
|
+
* four feedback tools every fleet product puts in its default list
|
|
51
|
+
* (docs/customer-feedback.md): request a feature, report an issue, upvote,
|
|
52
|
+
* review. `all`
|
|
50
53
|
* adds make logos, 3D models, image options, the API reference, pricing, help
|
|
51
54
|
* and billing links, plus the tools that are served but kept out of the public
|
|
52
55
|
* reference ({@link MCP_UNLISTED_TOOLS}), for hosts that opt in (`?toolset=all`
|
|
@@ -55,7 +58,19 @@ export const MCP_SERVER_CAPABILITIES = { tools: { listChanged: false } };
|
|
|
55
58
|
* the core tools first: tools/list order is what a host shows.
|
|
56
59
|
*/
|
|
57
60
|
export const MCP_TOOLSETS = {
|
|
58
|
-
core: [
|
|
61
|
+
core: [
|
|
62
|
+
"resolve_vehicle",
|
|
63
|
+
"search_vehicles",
|
|
64
|
+
"decode_vin",
|
|
65
|
+
"check_vehicles",
|
|
66
|
+
"get_car_image",
|
|
67
|
+
"create_car_image_urls",
|
|
68
|
+
"get_account",
|
|
69
|
+
"request_feature",
|
|
70
|
+
"report_issue",
|
|
71
|
+
"upvote_feedback",
|
|
72
|
+
"submit_review",
|
|
73
|
+
],
|
|
59
74
|
all: [
|
|
60
75
|
"resolve_vehicle",
|
|
61
76
|
"search_vehicles",
|
|
@@ -64,6 +79,16 @@ export const MCP_TOOLSETS = {
|
|
|
64
79
|
"get_car_image",
|
|
65
80
|
"create_car_image_urls",
|
|
66
81
|
"get_account",
|
|
82
|
+
"request_feature",
|
|
83
|
+
"report_issue",
|
|
84
|
+
"upvote_feedback",
|
|
85
|
+
"submit_review",
|
|
86
|
+
"list_feedback",
|
|
87
|
+
"get_feedback",
|
|
88
|
+
"list_my_feedback",
|
|
89
|
+
"remove_feedback_vote",
|
|
90
|
+
"comment_on_feedback",
|
|
91
|
+
"list_reviews",
|
|
67
92
|
"get_make_logo",
|
|
68
93
|
"create_3d_model",
|
|
69
94
|
"get_3d_model",
|
|
@@ -77,10 +102,10 @@ export const MCP_TOOLSETS = {
|
|
|
77
102
|
"purchase_plan",
|
|
78
103
|
"pay_invoice",
|
|
79
104
|
"checkout_status",
|
|
105
|
+
"list_members",
|
|
80
106
|
"rate_image",
|
|
81
107
|
"list_requests",
|
|
82
108
|
"request_vehicle",
|
|
83
|
-
"request_feature",
|
|
84
109
|
"get_request",
|
|
85
110
|
"upvote_request",
|
|
86
111
|
"comment_on_request",
|
|
@@ -90,8 +115,9 @@ export const MCP_TOOLSETS = {
|
|
|
90
115
|
};
|
|
91
116
|
/**
|
|
92
117
|
* Served on `all`, absent from the public reference since the 2026-09-30
|
|
93
|
-
* audit: image feedback (the dashboard rates images now), the
|
|
94
|
-
*
|
|
118
|
+
* audit: image feedback (the dashboard rates images now), the original
|
|
119
|
+
* request-board tools (the canonical feedback tools replace them; they keep
|
|
120
|
+
* working) and the two "about you" tools. The docs, both READMEs, the OpenAPI
|
|
95
121
|
* description and the plugin skills never name them
|
|
96
122
|
* (app/_lib/client-surface-contract.test.ts), and what the reference says
|
|
97
123
|
* `?toolset=all` adds is {@link MCP_DOCUMENTED_EXTRAS}.
|
|
@@ -100,7 +126,6 @@ export const MCP_UNLISTED_TOOLS = [
|
|
|
100
126
|
"rate_image",
|
|
101
127
|
"list_requests",
|
|
102
128
|
"request_vehicle",
|
|
103
|
-
"request_feature",
|
|
104
129
|
"get_request",
|
|
105
130
|
"upvote_request",
|
|
106
131
|
"comment_on_request",
|
|
@@ -136,6 +161,8 @@ export const MCP_INSTRUCTIONS_HEAD_LIMIT = 2048;
|
|
|
136
161
|
* instructions no longer steer an agent to them.
|
|
137
162
|
*/
|
|
138
163
|
const HEAD_MISSING = "tell the human the catalog does not carry it and stop";
|
|
164
|
+
/** When to use the feedback tools, which every toolset has. */
|
|
165
|
+
const HEAD_FEEDBACK = "Feedback (free): when a call fails in a way that looks like our bug, offer report_issue with its request_id; when the human wishes the API did something, request_feature. Both return similar items first: upvote_feedback a match instead. After real use, offer submit_review.";
|
|
139
166
|
/** The 3D cost rule, shown only where create_3d_model is a tool the host has. */
|
|
140
167
|
const HEAD_3D = `create_3d_model costs ${MODEL_3D_PRICE}, free once that vehicle/color is owned: confirm with the human before calling it. `;
|
|
141
168
|
function toolsetHas(toolset, tool) {
|
|
@@ -151,10 +178,12 @@ For an image in chat, call create_car_image_urls once with vehicle: "veh_…", v
|
|
|
151
178
|
|
|
152
179
|
If lookup confidence is low or the year differs from the request, ask before spending credits. If no match, ${HEAD_MISSING}; never silently substitute a car.
|
|
153
180
|
|
|
154
|
-
Costs: ${CREDITS_PER_IMAGE} credit per image or signed URL; lookups are free. Confirm the count and cost before a batch the human did not size. ${toolsetHas(toolset, "create_3d_model") ? HEAD_3D : ""}On (402) stop and give the human its checkout_url and price; buy credits or change a plan only when the human asks or a spending mandate they set covers it
|
|
181
|
+
Costs: ${CREDITS_PER_IMAGE} credit per image or signed URL; lookups are free. Confirm the count and cost before a batch the human did not size. ${toolsetHas(toolset, "create_3d_model") ? HEAD_3D : ""}On (402) stop and give the human its checkout_url and price; buy credits or change a plan only when the human asks or a spending mandate they set covers it.
|
|
182
|
+
|
|
183
|
+
${HEAD_FEEDBACK}`;
|
|
155
184
|
}
|
|
156
185
|
/** The tools that never cost a credit, named in the Plans paragraph for the toolset that has them. */
|
|
157
|
-
const FREE_TOOLS = ["search_vehicles", "resolve_vehicle", "decode_vin", "check_vehicles", "list_image_options", "get_account", "get_3d_model", "publish_3d_model", "describe_api"];
|
|
186
|
+
const FREE_TOOLS = ["search_vehicles", "resolve_vehicle", "decode_vin", "check_vehicles", "list_image_options", "get_account", "list_members", "get_3d_model", "publish_3d_model", "describe_api"];
|
|
158
187
|
/** "a, b and c" */
|
|
159
188
|
function listed(names) {
|
|
160
189
|
return names.length > 1 ? `${names.slice(0, -1).join(", ")} and ${names[names.length - 1]}` : (names[0] ?? "");
|
|
@@ -363,6 +392,7 @@ export const MCP_TOOL_SCHEMAS = {
|
|
|
363
392
|
}),
|
|
364
393
|
list_image_options: z.object({}),
|
|
365
394
|
get_account: z.object({}),
|
|
395
|
+
list_members: z.object({}),
|
|
366
396
|
rate_image: z.object({
|
|
367
397
|
request_id: z
|
|
368
398
|
.string()
|
|
@@ -448,8 +478,73 @@ export const MCP_TOOL_SCHEMAS = {
|
|
|
448
478
|
note: z.string().max(2000).optional().describe("Why it is needed, body style, trim; anything that helps prioritise."),
|
|
449
479
|
}),
|
|
450
480
|
request_feature: z.object({
|
|
451
|
-
title: z.string().min(1).max(
|
|
452
|
-
body: z.string().max(
|
|
481
|
+
title: z.string().min(1).max(140).describe('Short summary, e.g. "Interior views".'),
|
|
482
|
+
body: z.string().max(5000).optional().describe("Details: the use case, what the output should look like."),
|
|
483
|
+
force: z.boolean().optional().describe("File it even though similar items exist. Only after checking that none of the returned similar items matches."),
|
|
484
|
+
}),
|
|
485
|
+
report_issue: z.object({
|
|
486
|
+
title: z.string().min(1).max(140).describe('What went wrong, in a line, e.g. "Side views of the 2024 Camry return 502". No keys or personal data.'),
|
|
487
|
+
body: z.string().max(5000).optional().describe("What was called, what was expected, what happened."),
|
|
488
|
+
request_id: z.string().min(1).max(100).optional().describe("The request_id of the failed call (from its error or X-Request-Id). The single most useful thing to attach."),
|
|
489
|
+
context: z
|
|
490
|
+
.object({
|
|
491
|
+
endpoint: z.string().max(200).optional().describe("The tool or path that failed, e.g. get_car_image or /api/v1/images/car."),
|
|
492
|
+
error_code: z.string().max(80).optional().describe("The error code or status the call returned."),
|
|
493
|
+
vehicle: z.string().max(32).optional().describe("The vehicle id (veh_…) involved."),
|
|
494
|
+
view: z.string().max(24).optional().describe("The view involved, e.g. side."),
|
|
495
|
+
color: z.string().max(24).optional().describe("The paint color involved."),
|
|
496
|
+
asset_id: z.string().max(36).optional().describe("The image asset id, when one was returned."),
|
|
497
|
+
model_3d_id: z.string().max(36).optional().describe("The 3D request id, for a 3D model problem."),
|
|
498
|
+
client: z.string().max(80).optional().describe("The host or client, e.g. Claude Code."),
|
|
499
|
+
client_version: z.string().max(40).optional().describe("Its version."),
|
|
500
|
+
})
|
|
501
|
+
.optional()
|
|
502
|
+
.describe("The identifiers of what went wrong. Checked against the account's own requests; never shown publicly."),
|
|
503
|
+
force: z.boolean().optional().describe("File it even though similar reports exist."),
|
|
504
|
+
}),
|
|
505
|
+
list_feedback: z.object({
|
|
506
|
+
kind: z.enum(REQUEST_KINDS).optional().describe("feature, issue (published ones only) or vehicle. Omit for all."),
|
|
507
|
+
status: z.enum(REQUEST_STATUSES).optional().describe("Filter by status. Omit for everything that is not declined or merged."),
|
|
508
|
+
sort: z.enum(REQUEST_SORTS).default("top").describe("top = most votes (default); new = newest; recent_activity = latest vote, comment or change."),
|
|
509
|
+
q: z.string().max(200).optional().describe("Search titles and bodies."),
|
|
510
|
+
limit: z.coerce.number().int().min(1).max(100).default(25).describe("Maximum number of items (1-100)."),
|
|
511
|
+
cursor: z.string().max(200).optional().describe("next_cursor from a previous page."),
|
|
512
|
+
}),
|
|
513
|
+
get_feedback: z.object({
|
|
514
|
+
id: z.string().uuid().describe("The item id from list_feedback, request_feature or report_issue."),
|
|
515
|
+
}),
|
|
516
|
+
list_my_feedback: z.object({
|
|
517
|
+
kind: z.enum(REQUEST_KINDS).optional().describe("Only one kind. Omit for all."),
|
|
518
|
+
status: z.enum(REQUEST_STATUSES).optional().describe("Only one status. Omit for all."),
|
|
519
|
+
limit: z.coerce.number().int().min(1).max(100).default(25).describe("Maximum number of items (1-100)."),
|
|
520
|
+
cursor: z.string().max(200).optional().describe("next_cursor from a previous page."),
|
|
521
|
+
}),
|
|
522
|
+
upvote_feedback: z.object({
|
|
523
|
+
id: z.string().uuid().describe("The item id to upvote. Idempotent."),
|
|
524
|
+
}),
|
|
525
|
+
remove_feedback_vote: z.object({
|
|
526
|
+
id: z.string().uuid().describe("The item id to remove the vote from. Idempotent."),
|
|
527
|
+
}),
|
|
528
|
+
comment_on_feedback: z.object({
|
|
529
|
+
id: z.string().uuid().describe("The item id to comment on."),
|
|
530
|
+
body: z.string().min(1).max(2000).describe("The comment (1-2000 characters)."),
|
|
531
|
+
}),
|
|
532
|
+
submit_review: z.object({
|
|
533
|
+
rating: z.coerce.number().int().min(1).max(5).describe("1 to 5 stars, the human's own rating."),
|
|
534
|
+
title: z.string().max(120).optional().describe("A headline, in the human's words."),
|
|
535
|
+
body: z.string().max(2000).optional().describe("The review, in the human's words."),
|
|
536
|
+
likes: z.string().max(1000).optional().describe("What works well."),
|
|
537
|
+
dislikes: z.string().max(1000).optional().describe("What could be better."),
|
|
538
|
+
use_case: z.string().max(200).optional().describe("What they use the API for."),
|
|
539
|
+
display_name: z.string().max(80).optional().describe("The name to show. Defaults to their first name."),
|
|
540
|
+
display_company: z.string().max(120).optional().describe("A company to show, only if they want one."),
|
|
541
|
+
marketing_consent: z.boolean().optional().describe("true only if the human agreed that Car Image may quote it in marketing. Default false."),
|
|
542
|
+
}),
|
|
543
|
+
list_reviews: z.object({
|
|
544
|
+
sort: z.enum(["newest", "highest", "lowest"]).default("newest").describe("Order of the reviews."),
|
|
545
|
+
rating: z.coerce.number().int().min(1).max(5).optional().describe("Only reviews with this rating."),
|
|
546
|
+
limit: z.coerce.number().int().min(1).max(100).default(20).describe("Maximum number of reviews (1-100)."),
|
|
547
|
+
cursor: z.string().max(200).optional().describe("next_cursor from a previous page."),
|
|
453
548
|
}),
|
|
454
549
|
get_request: z.object({
|
|
455
550
|
id: z.string().uuid().describe("The request id from list_requests, request_vehicle or request_feature."),
|
|
@@ -459,7 +554,7 @@ export const MCP_TOOL_SCHEMAS = {
|
|
|
459
554
|
}),
|
|
460
555
|
comment_on_request: z.object({
|
|
461
556
|
id: z.string().uuid().describe("The request id to comment on."),
|
|
462
|
-
body: z.string().min(1).max(
|
|
557
|
+
body: z.string().min(1).max(2000).describe("The comment (1-2000 characters)."),
|
|
463
558
|
}),
|
|
464
559
|
share_building: z.object({
|
|
465
560
|
building: z.string().min(1).max(2000).describe("What the human is building with the API, in their words (1-2000 characters)."),
|
|
@@ -589,6 +684,14 @@ const vehicleDescriptorSchema = z.looseObject({
|
|
|
589
684
|
format: z.enum([...FORMATS, "auto"]),
|
|
590
685
|
});
|
|
591
686
|
/** `free_credits` is absent from the account endpoint's copy; the packs are not. */
|
|
687
|
+
/** The organization a connection acts for, with the caller's role (null once they left; the key still works). */
|
|
688
|
+
const organizationSchema = z.looseObject({
|
|
689
|
+
id: z.string(),
|
|
690
|
+
slug: z.string(),
|
|
691
|
+
name: z.string(),
|
|
692
|
+
personal: z.boolean(),
|
|
693
|
+
role: z.string().nullable(),
|
|
694
|
+
});
|
|
592
695
|
const pricingSchema = z.looseObject({
|
|
593
696
|
credits_per_image: z.number(),
|
|
594
697
|
credits_per_dollar: z.number(),
|
|
@@ -623,6 +726,23 @@ const requestFields = {
|
|
|
623
726
|
updated_at: z.string(),
|
|
624
727
|
viewer: z.looseObject({ voted: z.boolean() }).optional(),
|
|
625
728
|
};
|
|
729
|
+
/** create results on the canonical tools: the new item, or nothing and the matches to upvote. */
|
|
730
|
+
const filedFeedbackResult = z.looseObject({
|
|
731
|
+
created: z.boolean(),
|
|
732
|
+
data: z.looseObject({ ...requestFields, comments: z.number().int() }).nullable(),
|
|
733
|
+
similar: z.array(z.looseObject({ ...requestFields, comments: z.number().int() })),
|
|
734
|
+
request_id: z.string(),
|
|
735
|
+
});
|
|
736
|
+
const publicReviewSchema = z.looseObject({
|
|
737
|
+
id: z.string(),
|
|
738
|
+
rating: z.number().int(),
|
|
739
|
+
title: z.string().nullable(),
|
|
740
|
+
body: z.string().nullable(),
|
|
741
|
+
display_name: z.string(),
|
|
742
|
+
created_at: z.string(),
|
|
743
|
+
response: z.looseObject({ body: z.string(), responded_at: z.string() }).nullable(),
|
|
744
|
+
});
|
|
745
|
+
const reviewSummarySchema = z.looseObject({ count: z.number().int(), average: z.number().nullable(), distribution: z.looseObject({}) });
|
|
626
746
|
const requestCommentSchema = z.looseObject({
|
|
627
747
|
id: z.string(),
|
|
628
748
|
request_id: z.string(),
|
|
@@ -649,6 +769,7 @@ const createdRequestResult = z.looseObject({
|
|
|
649
769
|
deduplicated: z.boolean(),
|
|
650
770
|
request_id: z.string(),
|
|
651
771
|
});
|
|
772
|
+
const timelineSchema = z.array(z.looseObject({ at: z.string(), type: z.string() }));
|
|
652
773
|
/** The response of GET /api/v1/vin/{vin}: every key present, unknown values null. */
|
|
653
774
|
const vinResultSchema = z.looseObject({
|
|
654
775
|
vin: z.string(),
|
|
@@ -892,6 +1013,7 @@ export const MCP_TOOL_OUTPUT_SCHEMAS = {
|
|
|
892
1013
|
checkout_status: checkoutStatusResultSchema,
|
|
893
1014
|
get_account: z.looseObject({
|
|
894
1015
|
data: z.looseObject({
|
|
1016
|
+
organization: organizationSchema.optional(),
|
|
895
1017
|
credits: z.number(),
|
|
896
1018
|
credits_usd: z.number(),
|
|
897
1019
|
auto_reload: z.boolean(),
|
|
@@ -902,6 +1024,19 @@ export const MCP_TOOL_OUTPUT_SCHEMAS = {
|
|
|
902
1024
|
links: z.record(z.string(), z.string()).optional(),
|
|
903
1025
|
request_id: z.string().optional(),
|
|
904
1026
|
}),
|
|
1027
|
+
list_members: z.looseObject({
|
|
1028
|
+
data: z.looseObject({
|
|
1029
|
+
organization: organizationSchema,
|
|
1030
|
+
members: z.array(z.looseObject({ name: z.string().nullable(), email: z.string().nullable(), role: z.string(), joined_at: z.string() })),
|
|
1031
|
+
teams: z.array(z.looseObject({
|
|
1032
|
+
slug: z.string(),
|
|
1033
|
+
name: z.string(),
|
|
1034
|
+
description: z.string().nullable(),
|
|
1035
|
+
members: z.array(z.looseObject({ name: z.string().nullable(), email: z.string().nullable(), role: z.string() })),
|
|
1036
|
+
})),
|
|
1037
|
+
}),
|
|
1038
|
+
request_id: z.string().optional(),
|
|
1039
|
+
}),
|
|
905
1040
|
rate_image: z.looseObject({
|
|
906
1041
|
data: z.looseObject({
|
|
907
1042
|
asset_id: z.string().nullable().optional(),
|
|
@@ -928,7 +1063,16 @@ export const MCP_TOOL_OUTPUT_SCHEMAS = {
|
|
|
928
1063
|
publish_3d_model: z.looseObject({ data: model3dSchema, request_id: z.string() }),
|
|
929
1064
|
list_requests: requestListResult,
|
|
930
1065
|
request_vehicle: createdRequestResult,
|
|
931
|
-
request_feature:
|
|
1066
|
+
request_feature: filedFeedbackResult,
|
|
1067
|
+
report_issue: filedFeedbackResult,
|
|
1068
|
+
list_feedback: requestListResult,
|
|
1069
|
+
list_my_feedback: requestListResult,
|
|
1070
|
+
get_feedback: z.looseObject({ data: z.looseObject({ ...requestDetailSchema.shape, timeline: timelineSchema }), request_id: z.string() }),
|
|
1071
|
+
upvote_feedback: requestResult,
|
|
1072
|
+
remove_feedback_vote: requestResult,
|
|
1073
|
+
comment_on_feedback: z.looseObject({ data: requestCommentSchema, request_id: z.string() }),
|
|
1074
|
+
submit_review: z.looseObject({ data: publicReviewSchema.extend({ status: z.string(), marketing_consent: z.boolean() }), created: z.boolean(), request_id: z.string() }),
|
|
1075
|
+
list_reviews: z.looseObject({ data: z.array(publicReviewSchema), summary: reviewSummarySchema, next_cursor: z.string().nullable(), request_id: z.string() }),
|
|
932
1076
|
get_request: z.looseObject({ data: requestDetailSchema, request_id: z.string() }),
|
|
933
1077
|
upvote_request: requestResult,
|
|
934
1078
|
comment_on_request: z.looseObject({ data: requestCommentSchema, request_id: z.string() }),
|
|
@@ -1020,6 +1164,11 @@ export function model3dSummary(model, billing) {
|
|
|
1020
1164
|
const eta = model.estimated_seconds_remaining === null ? "" : `, about ${model.estimated_seconds_remaining} s left`;
|
|
1021
1165
|
return `${charge}3D model ${model.id} is ${model.status} (${model.progress}%${model.stage ? `, ${model.stage}` : ""}${eta}): ${car}. Poll get_3d_model(id) again in a few seconds; do not create it twice.${hosted}`;
|
|
1022
1166
|
}
|
|
1167
|
+
/** The one-line summary both servers put above list_members. */
|
|
1168
|
+
export function membersSummary(data) {
|
|
1169
|
+
const count = (n, word) => `${n} ${word}${n === 1 ? "" : "s"}`;
|
|
1170
|
+
return `${data.organization.name}: ${count(data.members.length, "member")}, ${count(data.teams.length, "team")}. Invites, removals and role changes are made on the dashboard by a person.`;
|
|
1171
|
+
}
|
|
1023
1172
|
/** Below this balance the account summary tells the agent to ask before rendering more. */
|
|
1024
1173
|
export const LOW_BALANCE_CREDITS = 10;
|
|
1025
1174
|
/** The one-line summary both servers put above an account: the balance in dollars, the plan, and a stop when it runs low. */
|
|
@@ -1196,11 +1345,19 @@ export const MCP_TOOLS = {
|
|
|
1196
1345
|
get_account: {
|
|
1197
1346
|
name: "get_account",
|
|
1198
1347
|
title: "Get account and credits",
|
|
1199
|
-
description: "Free. Show the caller's remaining credits (and the dollar equivalent), the plan in force and when it renews, usage against every plan limit this month (limits_usage: distinct vehicles, keys, request rates), what the next plan adds with its checkout link (next_plan), auto-reload status, whether a payment method is on file and the key's scopes. Check this before large batches; if credits are insufficient, give the human a checkout link with the price rather than buying credits yourself, unless they asked you to or a spending mandate they set covers it.",
|
|
1348
|
+
description: "Free. Show the organization this connection acts for (data.organization, with the caller's role), its remaining credits (and the dollar equivalent), the plan in force and when it renews, usage against every plan limit this month (limits_usage: distinct vehicles, keys, request rates), what the next plan adds with its checkout link (next_plan), auto-reload status, whether a payment method is on file and the key's scopes. Check this before large batches; if credits are insufficient, give the human a checkout link with the price rather than buying credits yourself, unless they asked you to or a spending mandate they set covers it.",
|
|
1200
1349
|
inputSchema: MCP_TOOL_SCHEMAS.get_account,
|
|
1201
1350
|
outputSchema: MCP_TOOL_OUTPUT_SCHEMAS.get_account,
|
|
1202
1351
|
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true },
|
|
1203
1352
|
},
|
|
1353
|
+
list_members: {
|
|
1354
|
+
name: "list_members",
|
|
1355
|
+
title: "List organization members",
|
|
1356
|
+
description: "Free, read only. List the members of the organization this connection acts for, with their roles (viewer, member, admin, owner), and its teams with their members. Inviting, removing people and changing roles happen on the dashboard, done by a person; never claim you did them.",
|
|
1357
|
+
inputSchema: MCP_TOOL_SCHEMAS.list_members,
|
|
1358
|
+
outputSchema: MCP_TOOL_OUTPUT_SCHEMAS.list_members,
|
|
1359
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true },
|
|
1360
|
+
},
|
|
1204
1361
|
rate_image: {
|
|
1205
1362
|
name: "rate_image",
|
|
1206
1363
|
title: "Rate a delivered image",
|
|
@@ -1275,11 +1432,83 @@ export const MCP_TOOLS = {
|
|
|
1275
1432
|
request_feature: {
|
|
1276
1433
|
name: "request_feature",
|
|
1277
1434
|
title: "Request a feature",
|
|
1278
|
-
description: "Free.
|
|
1435
|
+
description: "Free. When the human wishes the API did something it does not (new views, formats, endpoints, anything), file it on the public feedback board. Similar items are checked first: when some exist nothing is filed (created: false) and similar lists them; upvote_feedback the one that matches, or call again with force: true if none does. A new request returns its page URL; the human gets a thank-you email and one for every status change until it ships.",
|
|
1279
1436
|
inputSchema: MCP_TOOL_SCHEMAS.request_feature,
|
|
1280
1437
|
outputSchema: MCP_TOOL_OUTPUT_SCHEMAS.request_feature,
|
|
1281
1438
|
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true },
|
|
1282
1439
|
},
|
|
1440
|
+
report_issue: {
|
|
1441
|
+
name: "report_issue",
|
|
1442
|
+
title: "Report an issue",
|
|
1443
|
+
description: "Free. Report a problem with Car Image itself (a failed or wrong render, an error that looks like a bug, a broken endpoint), with the human's agreement. Pass the failed call's request_id and what you know in context (endpoint, error_code, vehicle id, view, color): the team sees exactly what happened. Private to the human and the team. Similar open reports come back first, as with request_feature: upvote_feedback one that matches. The human gets an acknowledgement and an email when it is picked up and when it is fixed. Not for a vehicle the catalog lacks, and never include API keys.",
|
|
1444
|
+
inputSchema: MCP_TOOL_SCHEMAS.report_issue,
|
|
1445
|
+
outputSchema: MCP_TOOL_OUTPUT_SCHEMAS.report_issue,
|
|
1446
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true },
|
|
1447
|
+
},
|
|
1448
|
+
list_feedback: {
|
|
1449
|
+
name: "list_feedback",
|
|
1450
|
+
title: "List the feedback board",
|
|
1451
|
+
description: "Free, public. The feedback board: feature requests, vehicle requests and published issues, with votes, comments, status (open, planned, in_progress, done, declined, duplicate) and a page URL. Search with q, filter by kind or status, sort by top, new or recent_activity.",
|
|
1452
|
+
inputSchema: MCP_TOOL_SCHEMAS.list_feedback,
|
|
1453
|
+
outputSchema: MCP_TOOL_OUTPUT_SCHEMAS.list_feedback,
|
|
1454
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true },
|
|
1455
|
+
},
|
|
1456
|
+
get_feedback: {
|
|
1457
|
+
name: "get_feedback",
|
|
1458
|
+
title: "Get a feedback item",
|
|
1459
|
+
description: "Free. One item with its comments (official: true marks the team's responses) and its timeline of status changes. A private issue is readable by its reporter only, with the context it was filed with.",
|
|
1460
|
+
inputSchema: MCP_TOOL_SCHEMAS.get_feedback,
|
|
1461
|
+
outputSchema: MCP_TOOL_OUTPUT_SCHEMAS.get_feedback,
|
|
1462
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true },
|
|
1463
|
+
},
|
|
1464
|
+
list_my_feedback: {
|
|
1465
|
+
name: "list_my_feedback",
|
|
1466
|
+
title: "List my feedback",
|
|
1467
|
+
description: "Free. What the human filed (private issues included) and what they vote on, comment on or follow, any status: use it to tell them where their requests and reports stand.",
|
|
1468
|
+
inputSchema: MCP_TOOL_SCHEMAS.list_my_feedback,
|
|
1469
|
+
outputSchema: MCP_TOOL_OUTPUT_SCHEMAS.list_my_feedback,
|
|
1470
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true },
|
|
1471
|
+
},
|
|
1472
|
+
upvote_feedback: {
|
|
1473
|
+
name: "upvote_feedback",
|
|
1474
|
+
title: "Upvote a feedback item",
|
|
1475
|
+
description: "Free. Add the human's vote to a feature, vehicle request or published issue (idempotent): the way to say \"me too\" instead of filing a duplicate. They follow it from then on and hear about every status change. A vote on a merged item lands on the item it was merged into.",
|
|
1476
|
+
inputSchema: MCP_TOOL_SCHEMAS.upvote_feedback,
|
|
1477
|
+
outputSchema: MCP_TOOL_OUTPUT_SCHEMAS.upvote_feedback,
|
|
1478
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: true, openWorldHint: true },
|
|
1479
|
+
},
|
|
1480
|
+
remove_feedback_vote: {
|
|
1481
|
+
name: "remove_feedback_vote",
|
|
1482
|
+
title: "Remove a vote",
|
|
1483
|
+
description: "Free. Remove the human's vote from an item (idempotent); they stop following it unless they commented.",
|
|
1484
|
+
inputSchema: MCP_TOOL_SCHEMAS.remove_feedback_vote,
|
|
1485
|
+
outputSchema: MCP_TOOL_OUTPUT_SCHEMAS.remove_feedback_vote,
|
|
1486
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: true, openWorldHint: true },
|
|
1487
|
+
},
|
|
1488
|
+
comment_on_feedback: {
|
|
1489
|
+
name: "comment_on_feedback",
|
|
1490
|
+
title: "Comment on a feedback item",
|
|
1491
|
+
description: "Free. Add a comment to an item, e.g. the use case or detail that matters; shown with the human's first name only.",
|
|
1492
|
+
inputSchema: MCP_TOOL_SCHEMAS.comment_on_feedback,
|
|
1493
|
+
outputSchema: MCP_TOOL_OUTPUT_SCHEMAS.comment_on_feedback,
|
|
1494
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true },
|
|
1495
|
+
},
|
|
1496
|
+
submit_review: {
|
|
1497
|
+
name: "submit_review",
|
|
1498
|
+
title: "Review Car Image",
|
|
1499
|
+
description: "Free. Post or edit the human's public review of Car Image (one per account, 1-5 stars, their own words; never invent or nudge a rating). Shown on the reviews page with the team's answer once it passes a quick check. Set marketing_consent only when they agree to be quoted. One edit an hour; the first post gets a thank-you email.",
|
|
1500
|
+
inputSchema: MCP_TOOL_SCHEMAS.submit_review,
|
|
1501
|
+
outputSchema: MCP_TOOL_OUTPUT_SCHEMAS.submit_review,
|
|
1502
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: true, openWorldHint: true },
|
|
1503
|
+
},
|
|
1504
|
+
list_reviews: {
|
|
1505
|
+
name: "list_reviews",
|
|
1506
|
+
title: "List reviews",
|
|
1507
|
+
description: "Free, public. Published reviews of Car Image with the team's responses, plus the average rating and the 1-5 distribution.",
|
|
1508
|
+
inputSchema: MCP_TOOL_SCHEMAS.list_reviews,
|
|
1509
|
+
outputSchema: MCP_TOOL_OUTPUT_SCHEMAS.list_reviews,
|
|
1510
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true },
|
|
1511
|
+
},
|
|
1283
1512
|
get_request: {
|
|
1284
1513
|
name: "get_request",
|
|
1285
1514
|
title: "Get a request",
|