Tool: list_accelerator_types
Lists the available Google Compute Engine accelerator types. Requires project and zone as input. Returns accelerator types, including id, creation timestamp, name, description, deprecated, zone, and maximum cards per instance.
The following sample demonstrate how to use curl to invoke the list_accelerator_types MCP tool.
| Curl Request |
|---|
curl --location 'https://compute.googleapis.com/mcp' \ --header 'content-type: application/json' \ --header 'accept: application/json, text/event-stream' \ --data '{ "method": "tools/call", "params": { "name": "list_accelerator_types", "arguments": { // provide these details according to the tool's MCP specification } }, "jsonrpc": "2.0", "id": 1 }' |
Input Schema
Request message for listing accelerator types.
McpListAcceleratorTypesRequest
| JSON representation |
|---|
{ "project": string, "zone": string } |
| Fields | |
|---|---|
project |
Required. Project ID for this request. |
zone |
Required. The zone of the accelerator types. |
Output Schema
Response message for listing accelerator types.
McpListAcceleratorTypesResponse
| JSON representation |
|---|
{
"acceleratorTypes": [
{
object ( |
| Fields | |
|---|---|
acceleratorTypes[] |
The list of accelerator types. |
AcceleratorType
| JSON representation |
|---|
{
"kind": string,
"id": string,
"creationTimestamp": string,
"name": string,
"description": string,
"deprecated": {
object ( |
| Fields | |
|---|---|
kind |
Output only. [Output Only] The type of the resource. Always |
id |
[Output Only] The unique identifier for the resource. This identifier is defined by the server. |
creationTimestamp |
[Output Only] Creation timestamp in RFC3339 text format. |
name |
[Output Only] Name of the resource. |
description |
[Output Only] An optional textual description of the resource. |
deprecated |
[Output Only] The deprecation status associated with this accelerator type. |
zone |
[Output Only] The name of the zone where the accelerator type resides, such as us-central1-a. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. |
selfLink |
Output only. [Output Only] Server-defined, fully qualified URL for this resource. |
maximumCardsPerInstance |
[Output Only] Maximum number of accelerator cards allowed per instance. |
DeprecationStatus
| JSON representation |
|---|
{
"state": enum ( |
| Fields | |
|---|---|
state |
The deprecation state of this resource. This can be |
replacement |
The URL of the suggested replacement for a deprecated resource. The suggested replacement resource must be the same kind of resource as the deprecated resource. |
deprecated |
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to |
obsolete |
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to |
deleted |
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to |
Tool Annotations
Destructive Hint: ❌ | Idempotent Hint: ✅ | Read Only Hint: ✅ | Open World Hint: ❌