veryfront__resolve_project_dependenciesAccess
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. |
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
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "veryfront__resolve_project_dependencies",
"arguments": {
"specifiers": [
"example"
],
"confirm": false
}
}
}
Result
The published output shape is summarized below. Inspect both the MCP response content andisError when handling a call.
| Field | Type | Required | Description and constraints |
|---|---|---|---|
pins | object | Yes | Successfully resolved exact pins, including existing pins. Registry failures are omitted. |
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. |
Full schemas
{
"type": "object",
"properties": {
"project_reference": {
"type": "string",
"minLength": 1,
"description": "Project UUID or slug. May be omitted when connected through a project-scoped MCP endpoint."
},
"branch": {
"type": "string",
"minLength": 1,
"maxLength": 255,
"description": "Branch UUID or name; omit for main. 1-255 characters without surrounding whitespace."
},
"specifiers": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "One specifier item supplied to the tool."
},
"minItems": 1,
"maxItems": 100,
"description": "1-100 npm specifiers of 1-200 characters: bare name, exact version or semver range."
},
"expected_declarations": {
"type": "object",
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 200,
"description": "Additional structured values supplied to the tool."
},
{
"type": "null",
"description": "Additional structured values supplied to the tool."
}
],
"description": "Additional structured values supplied to the tool."
},
"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."
},
"confirm": {
"type": "boolean",
"description": "Must be true to confirm writing resolved pins to package.json."
}
},
"required": [
"specifiers",
"confirm"
],
"additionalProperties": false,
"description": "Arguments for the resolve_project_dependencies tool.",
"$schema": "http://json-schema.org/draft-07/schema#"
}
{
"type": "object",
"properties": {
"pins": {
"type": "object",
"additionalProperties": {
"type": "string",
"description": "Additional structured values associated with this result."
},
"description": "Successfully resolved exact pins, including existing pins. Registry failures are omitted."
},
"persisted": {
"type": "boolean",
"description": "True when eligible pins were persisted or no eligible write was needed. False means persistence failed; pins retain intended values for retry."
},
"skipped": {
"type": "object",
"additionalProperties": {
"type": "string",
"const": "declaration_changed",
"description": "Additional structured values associated with this result."
},
"description": "Packages skipped because their current declaration differs from the supplied snapshot."
}
},
"required": [
"pins",
"persisted",
"skipped"
],
"additionalProperties": false,
"description": "Structured result returned by the resolve_project_dependencies tool.",
"$schema": "http://json-schema.org/draft-07/schema#"
}