List releases
list_releasesA listing's releases, newest first: published ones, or all of them for its seller. If the
listing includes release assets, each has its assets: files such as compiled binaries,
from its GitHub release or uploaded by its seller (release_asset_upload_url), which those
who may fetch the release download from download_url. If the listing sells npm packages,
npm_packages names them (name and version), which buyers install from Moatless's npm
registry. For its seller, assets_error says why any weren't copied from GitHub. An asset
for one of the listing's plans has its plan_id; only buyers of that plan, or one above it,
can download it.
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": {
"input": "<input>",
"context": "<context>"
},
"name": "list_releases"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | ||
| input | Yes | ||
| limit | No | The maximum number of records to return | |
| filter | No | A filter to apply to the query: either a condition {"field": ..., "operator": ..., "value": ...} or an {"and": [...]} / {"or": [...]} group of conditions and groups (nestable). Operators: contains, eq, greater_than, greater_than_or_equal, ilike, in, is_distinct_from, is_nil, is_not_distinct_from, less_than, less_than_or_equal, like, not_eq, string_ends_with, string_starts_with. For 'is_nil' the value is true or false; for 'in' the value is an array. Fields: id, version, notes, source_ref, plan_source_refs, changed, state, number, source_sha, distribution_sha, published_at, error, assets_requested_at, assets_synced_at, assets_error, license_path, license_text, hex_package, components, inserted_at, updated_at, listing_id, npm_packages, event_payload, build_job. | |
| offset | No | The number of records to skip | |
| context | Yes | Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. Never include personal data, such as names, email addresses or message text; refer to people by role, such as "the user" or "a buyer". | |
| result_type | No | The type of result to return | run_query |