get_lockfiles
Locate dependency lockfiles under remote paths and report their sizes; optionally print contents with credentials and tokens redacted. Check metadata first because lockfiles can be large.
Instructions
Finds dependency lockfiles (composer.lock, package-lock.json, poetry.lock, go.sum, Cargo.lock, ...) under abs_paths, with sizes. include_contents=True prints them, with credentials in URLs and tokens redacted; call without it first: they can be MBs.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"host": "<host>",
"user": "<user>",
"abs_paths": "<abs_paths>"
},
"name": "get_lockfiles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| port | No | ||
| user | Yes | ||
| timeout | No | ||
| key_path | No | ||
| abs_paths | Yes | ||
| max_depth | No | ||
| password_env | No | ||
| include_contents | No | ||
| accept_new_hostkey | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||