Tool: list_static_ips
Lists static IP addresses of the provided resource name that need to be allowlisted by the customer when using the static-IP connectivity method. Returns up to 100 IP addresses.
- The resource
nameparameter is in the formprojects/{project name}/locations/{location}, for example:projects/my-project/locations/us-central1.
The following sample demonstrate how to use curl to invoke the list_static_ips MCP tool.
| Curl Request |
|---|
curl --location 'https://datastream.googleapis.com/mcp' \ --header 'content-type: application/json' \ --header 'accept: application/json, text/event-stream' \ --data '{ "method": "tools/call", "params": { "name": "list_static_ips", "arguments": { // provide these details according to the tool's MCP specification } }, "jsonrpc": "2.0", "id": 1 }' |
Input Schema
Request message for 'ListStaticIps' request.
ListStaticIpsRequest
| JSON representation |
|---|
{ "name": string } |
| Fields | |
|---|---|
name |
Required. The resource name for the location for which static IPs should be returned. Must be in the format |
Output Schema
Response message for a 'FetchStaticIps' response.
FetchStaticIpsResponse
| JSON representation |
|---|
{ "staticIps": [ string ], "nextPageToken": string } |
| Fields | |
|---|---|
staticIps[] |
list of static ips by account |
nextPageToken |
A token that can be sent as |
Tool Annotations
Destructive Hint: ❌ | Idempotent Hint: ✅ | Read Only Hint: ✅ | Open World Hint: ❌