veryfront__resolve_project_dependencies
Requires project.files.write.
Access
No external-service connection is required. Use a Veryfront credential with access to the requested resources.
Call type: Can change resources.
Arguments
| Field | Type | Required | Description and constraints |
|---|---|---|---|
project_reference | string | No | Project UUID or slug. May be omitted when connected through a project-scoped MCP endpoint. Minimum length: 1. |
branch | string | No | Branch UUID or name; omit for main. 1-255 characters without surrounding whitespace. Minimum length: 1. Maximum length: 255. |
specifiers | string[] | Yes | 1-100 npm specifiers of 1-200 characters: bare name, exact version or semver range. Pin exact versions in package.json after adding imports or packages. |
expected_declarations | object | No | Observed declarations; at most 100 entries of up to 200 characters. Every requested package must be present; null means absent. Changed declarations are skipped. |
confirm | boolean | Yes | Must be true to confirm writing resolved pins to package.json. |
Example request
Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.
request.json
1{2 "jsonrpc": "2.0",3 "id": 1,4 "method": "tools/call",5 "params": {6 "name": "veryfront__resolve_project_dependencies",7 "arguments": {8 "specifiers": [9 "example"10 ],11 "confirm": true12 }13 }14}Result
The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.
| Field | Type | Required | Description and constraints |
|---|---|---|---|
pins | object | Yes | Successfully resolved exact pins, including existing pins. Existing exact pins remain unchanged. Unknown packages and registry failures are omitted without failing the batch. A requested package absent from both pins and skipped was not resolved or written. |
persisted | boolean | Yes | True when eligible pins were persisted or no eligible write was needed. False means persistence failed; pins retain intended values for retry. |
skipped | object | Yes | Packages skipped because their current declaration differs from the supplied snapshot. The skip reason is declaration_changed. |
Full schemas
input-schema.json
1{2 "type": "object",3 "properties": {4 "project_reference": {5 "type": "string",6 "minLength": 1,7 "description": "Project UUID or slug. May be omitted when connected through a project-scoped MCP endpoint."8 },9 "branch": {10 "type": "string",11 "minLength": 1,12 "maxLength": 255,13 "description": "Branch UUID or name; omit for main. 1-255 characters without surrounding whitespace."14 },15 "specifiers": {16 "type": "array",17 "items": {18 "type": "string",19 "minLength": 1,20 "maxLength": 200,21 "description": "One specifier item supplied to the tool."22 },23 "minItems": 1,24 "maxItems": 100,25 "description": "1-100 npm specifiers of 1-200 characters: bare name, exact version or semver range. Pin exact versions in package.json after adding imports or packages."26 },27 "expected_declarations": {28 "description": "Observed declarations; at most 100 entries of up to 200 characters. Every requested package must be present; null means absent. Changed declarations are skipped.",29 "type": "object",30 "maxProperties": 100,31 "additionalProperties": {32 "type": [33 "string",34 "null"35 ],36 "maxLength": 200,37 "description": "Additional structured values supplied to the tool."38 }39 },40 "confirm": {41 "type": "boolean",42 "description": "Must be true to confirm writing resolved pins to package.json."43 }44 },45 "required": [46 "specifiers",47 "confirm"48 ],49 "additionalProperties": false,50 "description": "Arguments for the resolve_project_dependencies tool.",51 "$schema": "http://json-schema.org/draft-07/schema#"52}output-schema.json
1{2 "type": "object",3 "properties": {4 "pins": {5 "description": "Successfully resolved exact pins, including existing pins. Existing exact pins remain unchanged. Unknown packages and registry failures are omitted without failing the batch. A requested package absent from both pins and skipped was not resolved or written.",6 "type": "object",7 "additionalProperties": {8 "type": "string",9 "description": "Additional structured values returned by the tool."10 }11 },12 "persisted": {13 "type": "boolean",14 "description": "True when eligible pins were persisted or no eligible write was needed. False means persistence failed; pins retain intended values for retry."15 },16 "skipped": {17 "description": "Packages skipped because their current declaration differs from the supplied snapshot. The skip reason is declaration_changed.",18 "type": "object",19 "additionalProperties": {20 "type": "string",21 "enum": [22 "declaration_changed"23 ],24 "description": "Additional structured values returned by the tool."25 }26 }27 },28 "required": [29 "pins",30 "persisted",31 "skipped"32 ],33 "additionalProperties": false,34 "description": "Structured result returned by the resolve_project_dependencies tool.",35 "$schema": "http://json-schema.org/draft-07/schema#"36}