Tool: get_billing_account_service
Gets a billing account service visible to a billing account.
The following code sample shows how to use curl to call the get_billing_account_service MCP tool.
| Curl Request |
|---|
curl --location 'https://cloudbilling.googleapis.com/mcp' \ --header 'content-type: application/json' \ --header 'accept: application/json, text/event-stream' \ --data '{ "method": "tools/call", "params": { "name": "get_billing_account_service", "arguments": { // provide these details according to the tool's MCP specification } }, "jsonrpc": "2.0", "id": 1 }' |
Input Schema
Request message for GetBillingAccountService.
GetBillingAccountServiceRequest
| JSON representation |
|---|
{ "name": string } |
| Fields | |
|---|---|
name |
Required. The name of the |
Output Schema
Encapsulates a Google Cloud service visible to a billing account.
BillingAccountService
| JSON representation |
|---|
{ "name": string, "serviceId": string, "displayName": string } |
| Fields | |
|---|---|
name |
Resource name for the |
serviceId |
Identifier for the service. It is the string after the collection identifier "services/". Example: "DA34-426B-A397". |
displayName |
Description of the |
Tool Annotations
Destructive Hint: ❌ | Idempotent Hint: ✅ | Read Only Hint: ✅ | Open World Hint: ❌