YRUZ DependencyPulse Dependency Tree (0.01 USDC)
deps_get_dependency_treeBounded transitive dependency graph of an npm package version: every node with the declared range, the resolved version (highest published version satisfying the range, as a fresh install without a lockfile would pick), depth, parent, deprecation, and the OSV advisories that match it. Limits are enforced and reported: nothing is silently cut. Price: 0.01 USDC per call, paid with x402 (USDC on Base or Solana, no account, no API key); invalid input is refused before payment and a failed run is never charged. Without a payment the tool returns the x402 PaymentRequired. How to call it: get_example {"tool":"deps_get_dependency_tree"}. Same tool over HTTP: https://yruz.one/api/deps/tree?name=express&depth=2
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": {
"name": "<name>"
},
"name": "deps_get_dependency_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | npm package (required), e.g. express | |
| depth | No | levels below the package, 1-4 (default 3) | |
| version | No | version or range (default latest) | |
| optional | No | 1 to follow optionalDependencies (default 0) | |
| max_nodes | No | graph size cap, 10-250 (default 150) |