Resolve and pin dependencies

Resolve dependency pins. Requires project.files.write.

Arguments

  • project_referencestring · min length 1

    Project UUID or slug. May be omitted when connected through a project-scoped MCP endpoint.

  • branchstring · min length 1 · max length 255

    Branch UUID or name; omit for main. 1-255 characters without surrounding whitespace.

  • specifiersarray of string · min length 1 · max length 200required

    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_declarationsobject

    Observed declarations; at most 100 entries of up to 200 characters. Every requested package must be present; null means absent. Changed declarations are skipped.

  • confirmbooleanrequired

    Must be true to confirm writing resolved pins to package.json.

Responses

curl -X POST -N "https://api.veryfront.com/mcp" \  -H "Authorization: Bearer $VERYFRONT_API_KEY" \  -H "Accept: application/json, text/event-stream" \  -H "Content-Type: application/json" \  -d '{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__resolve_project_dependencies",    "arguments": {      "specifiers": [        "string"      ],      "confirm": false    }  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"pins\":{},\"persisted\":false,\"skipped\":{}}"      }    ],    "structuredContent": {      "pins": {},      "persisted": false,      "skipped": {}    }  }}

The tool ran; its output is result.structuredContent.