List Views
list_viewsList all views in a DB2 for i schema, using the default schema if none is specified. Optionally filter view names with a wildcard pattern.
Instructions
List all views in a schema (library). Uses the system's default schema if not provided. Optionally filter by name pattern using * as wildcard.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_views"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | Filter pattern for view names. Use * as wildcard. | |
| schema | No | Schema (library) name to list views from. Uses the system's default schema if not provided. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| count | No | ||
| error | No | ||
| success | Yes |