file-list
Lists file paths inside a Minecraft artifact, version, JAR, coordinate, workspace, or dependency, with optional path-prefix filtering and cursor-based pagination.
Instructions
List the file paths inside an artifact, optionally under a path prefix. Pages with limit; pass meta.pagination.nextCursor as cursor for the next page.
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": {
"target": "<target>"
},
"name": "file-list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Default 200. | |
| cursor | No | meta.pagination.nextCursor of the previous page. | |
| prefix | No | Path prefix, e.g. "net/minecraft/world/item/". | |
| target | Yes | Fields per kind (?=optional): artifact: artifactId; version: version,projectPath?,scope?; jar: jarPath; coordinate: coordinate; workspace: projectPath,scope?; dependency: group,name,dependencyVersion|projectPath. Other fields rejected. |