SDK reference / Models / AgentService
AiAgentToolServer
Kind: class
Namespace: Egulu.Sdk.Models.AgentService
A customer MCP server (HTTPS) that agents of the project may use as a tool set.
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
AuthSecret | string? | authSecret | The secret that holds the bearer token the server expects, as a reference: `projects/{project}/locations/{location}/secrets/{secret}` (aversion may follow as `/versions/{n}`). The value is read by the platform for each call and is never shown to a model or stored in a transcript. |
CreateTime | DateTimeOffset? | createTime | The createTime property |
DiscoverError | string? | discoverError | Why the last `:discover` failed, if it did. |
DiscoverTime | DateTimeOffset? | discoverTime | The discoverTime property |
DisplayName | string? | displayName | 1 to 63 characters. |
Etag | string? | etag | The etag property |
External | bool? | external | Whether the server's tools reach outside the platform. Always true: a customer server is external. |
Labels | Models.AgentService.AiAgentToolServer_labels? | labels | At most 64. |
Name | string? | name | projects/{project}/locations/{location}/agentToolServers/{server}. |
Risk | string? | risk | The risk class every tool of this server is treated as: `R0` to `R3`. Default `R2`: an external server's tool is never assumed harmless. |
Tools | List<Models.AgentService.AiAgentTool>? | tools | The tools found by the last `:discover`. |
UpdateTime | DateTimeOffset? | updateTime | The updateTime property |
Url | string? | url | The MCP endpoint (Streamable HTTP). HTTPS only; no credentials in the URL; no private or link-local address. |