Get npm Package README
npm_package_readmeRetrieve the README markdown content of any npm package, including installation instructions and usage examples.
Instructions
Get the README content of an npm package.
Returns the package's README markdown content, which typically includes installation instructions, usage examples, API documentation, and configuration options.
Args:
package_name (string): The npm package name
Returns: README content in markdown format. Large READMEs are truncated to 25000 characters with a notice.
Examples:
"zod" -> Zod README with schema validation examples
"express" -> Express README with routing examples
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": {
"package_name": "<package_name>"
},
"name": "npm_package_readme"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package_name | Yes | npm package name |