Tool: list_logical_views
List information about all logical views within a specified instance. The request requires the parent field to be set in the format 'projects/{project}/instances/{instance}'. Example: { "parent": "projects/my-project/instances/my-instance" }
The following sample demonstrate how to use curl to invoke the list_logical_views MCP tool.
| Curl Request |
|---|
curl --location 'https://bigtableadmin.googleapis.com/mcp' \ --header 'content-type: application/json' \ --header 'accept: application/json, text/event-stream' \ --data '{ "method": "tools/call", "params": { "name": "list_logical_views", "arguments": { // provide these details according to the tool's MCP specification } }, "jsonrpc": "2.0", "id": 1 }' |
Input Schema
Request message for BigtableInstanceAdmin.ListLogicalViews.
ListLogicalViewsRequest
| JSON representation |
|---|
{ "parent": string, "pageSize": integer, "pageToken": string } |
| Fields | |
|---|---|
parent |
Required. The unique name of the instance for which the list of logical views is requested. Values are of the form |
pageSize |
Optional. The maximum number of logical views to return. The service may return fewer than this value |
pageToken |
Optional. A page token, received from a previous When paginating, all other parameters provided to |
Output Schema
Response message for Bigtable.ListLogicalViews
ListLogicalViewsResponse
| JSON representation |
|---|
{
"logicalViews": [
{
object ( |
| Fields | |
|---|---|
logicalViews[] |
The logical views in the instance. |
nextPageToken |
A token, which can be sent as |
LogicalView
| JSON representation |
|---|
{ "name": string, "query": string, "deletionProtection": boolean } |
| Fields | |
|---|---|
name |
Identifier. The name of the logical view. |
query |
Required. The logical view's select query. |
deletionProtection |
Optional. Set to true to make the LogicalView protected against deletion. |
Tool Annotations
Destructive Hint: ❌ | Idempotent Hint: ❌ | Read Only Hint: ✅ | Open World Hint: ✅