Google Cloud Inventory / warm
List Compute Instances
List Compute Engine VM instances for an allowed project. Uses aggregated inventory unless a zone filter is supplied.
Quick Start
aweb inspect gcp_inventory.list_compute_instances
aweb add gcp_inventory
aweb plan "use Google Cloud Inventory list compute instances in an agent workflow"import Aweb, { Agent } from '@aweb/sdk';
const aweb = new Aweb({ apiKey: process.env.AWEB_API_KEY });
const agent = new Agent({ tools: aweb.tools });
agent.add('gcp_inventory');
const plan = await agent.plan('Use Google Cloud Inventory for this workflow');
const tool = await aweb.tools.inspect('gcp_inventory.list_compute_instances');
console.log(plan.nextAction);
console.log(tool.inputSchema);Tool Card
Tool idgcp_inventory.list_compute_instances
ProviderGoogle Cloud Inventory (gcp_inventory)
Tool namelist_compute_instances
Activationwarm
Healthhealthy
Trust score1.00
Transportstreamable_http
Latencynot yet measured
Cost0
Requirements and Governance
Authstatic_fields
Credentialsetup_required
Workspaceglobal
Approvalnone
RiskREAD
Permissionsread
Credential setup/api/mcp-warehouse/credentials/gcp_inventory/init
Schemas
{
"type": "object",
"properties": {
"projectId": {
"type": "string",
"description": "Optional Google Cloud project id. Must be in the allowed-project list."
},
"zone": {
"type": "string",
"description": "Optional zone filter. Accepts bare zone name or full zone resource URL."
},
"limit": {
"type": "integer",
"description": "Maximum instances to return (default 100, max 500)."
},
"filter": {
"type": "string",
"description": "Optional Compute Engine filter expression passed through to aggregatedList."
}
},
"additionalProperties": false
}Examples
[
{
"objective": "Use Google Cloud Inventory list compute instances in an agent workflow.",
"args": {
"projectId": "<projectId>",
"zone": "<zone>",
"limit": "<limit>",
"filter": "<filter>"
}
}
]