Check every dependency in a pubspec.yaml for updates
check_pubspecParses a pubspec.yaml file's contents and checks all dependencies and dev_dependencies against pub.dev, reporting which ones have updates available. Changelog HTML is left out of each dependency unless changelog is set to true - if any of them have one, the response says how many (changelogsAvailable) and reminds you to call again with changelog: true. This does not save anything - pass the raw file contents, not a file path. No account needed.
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": {
"pubspecYaml": "<pubspecYaml>"
},
"name": "check_pubspec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changelog | No | Include changelog HTML for each dependency. Defaults to false; only set this once you actually need the changelog text, since it can be large across a whole pubspec. | |
| pubspecYaml | Yes | The full raw text contents of a pubspec.yaml file |