list_datasets
List MVS datasets on a z/OS mainframe by providing a name pattern with wildcards. Use this to locate dataset names matching criteria like 'ADCDC.*'.
Instructions
List MVS datasets whose name matches pattern (e.g. ADCDC.*).
Uses ISPF 3.4 or z/OS FTP depending on config.dataset.transport. With
the ISPF transport, the TN3270 session must already be logged in.
Args:
pattern: Fully-qualified dataset name with wildcards (* matches any qualifier).
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": {
"pattern": "<pattern>"
},
"name": "list_datasets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |