|
272 | 272 | "https://www.googleapis.com/auth/cloud-platform", |
273 | 273 | "https://www.googleapis.com/auth/cloud-platform.read-only" |
274 | 274 | ] |
| 275 | + }, |
| 276 | + "search": { |
| 277 | + "description": "Searches Agents in a given project and location.", |
| 278 | + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/agents:search", |
| 279 | + "httpMethod": "POST", |
| 280 | + "id": "agentregistry.projects.locations.agents.search", |
| 281 | + "parameterOrder": [ |
| 282 | + "parent" |
| 283 | + ], |
| 284 | + "parameters": { |
| 285 | + "parent": { |
| 286 | + "description": "Required. Parent value for SearchAgentsRequest. Format: `projects/{project}/locations/{location}`.", |
| 287 | + "location": "path", |
| 288 | + "pattern": "^projects/[^/]+/locations/[^/]+$", |
| 289 | + "required": true, |
| 290 | + "type": "string" |
| 291 | + } |
| 292 | + }, |
| 293 | + "path": "v1alpha/{+parent}/agents:search", |
| 294 | + "request": { |
| 295 | + "$ref": "SearchAgentsRequest" |
| 296 | + }, |
| 297 | + "response": { |
| 298 | + "$ref": "SearchAgentsResponse" |
| 299 | + }, |
| 300 | + "scopes": [ |
| 301 | + "https://www.googleapis.com/auth/agentregistry.read-only", |
| 302 | + "https://www.googleapis.com/auth/agentregistry.read-write", |
| 303 | + "https://www.googleapis.com/auth/cloud-platform", |
| 304 | + "https://www.googleapis.com/auth/cloud-platform.read-only" |
| 305 | + ] |
275 | 306 | } |
276 | 307 | } |
277 | 308 | }, |
|
429 | 460 | "https://www.googleapis.com/auth/cloud-platform", |
430 | 461 | "https://www.googleapis.com/auth/cloud-platform.read-only" |
431 | 462 | ] |
| 463 | + }, |
| 464 | + "search": { |
| 465 | + "description": "Searches McpServers in a given project and location.", |
| 466 | + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/mcpServers:search", |
| 467 | + "httpMethod": "POST", |
| 468 | + "id": "agentregistry.projects.locations.mcpServers.search", |
| 469 | + "parameterOrder": [ |
| 470 | + "parent" |
| 471 | + ], |
| 472 | + "parameters": { |
| 473 | + "parent": { |
| 474 | + "description": "Required. Parent value for SearchMcpServersRequest. Format: `projects/{project}/locations/{location}`.", |
| 475 | + "location": "path", |
| 476 | + "pattern": "^projects/[^/]+/locations/[^/]+$", |
| 477 | + "required": true, |
| 478 | + "type": "string" |
| 479 | + } |
| 480 | + }, |
| 481 | + "path": "v1alpha/{+parent}/mcpServers:search", |
| 482 | + "request": { |
| 483 | + "$ref": "SearchMcpServersRequest" |
| 484 | + }, |
| 485 | + "response": { |
| 486 | + "$ref": "SearchMcpServersResponse" |
| 487 | + }, |
| 488 | + "scopes": [ |
| 489 | + "https://www.googleapis.com/auth/agentregistry.read-only", |
| 490 | + "https://www.googleapis.com/auth/agentregistry.read-write", |
| 491 | + "https://www.googleapis.com/auth/cloud-platform", |
| 492 | + "https://www.googleapis.com/auth/cloud-platform.read-only" |
| 493 | + ] |
432 | 494 | } |
433 | 495 | } |
434 | 496 | }, |
|
757 | 819 | } |
758 | 820 | } |
759 | 821 | }, |
760 | | - "revision": "20260326", |
| 822 | + "revision": "20260406", |
761 | 823 | "rootUrl": "https://agentregistry.googleapis.com/", |
762 | 824 | "schemas": { |
763 | 825 | "Agent": { |
|
1417 | 1479 | }, |
1418 | 1480 | "type": "object" |
1419 | 1481 | }, |
| 1482 | + "SearchAgentsRequest": { |
| 1483 | + "description": "Message for searching Agents", |
| 1484 | + "id": "SearchAgentsRequest", |
| 1485 | + "properties": { |
| 1486 | + "pageSize": { |
| 1487 | + "description": "Optional. The maximum number of search results to return per page. The page size is capped at `100`, even if a larger value is specified. A negative value will result in an `INVALID_ARGUMENT` error. If unspecified or set to `0`, a default value of `20` will be used. The server may return fewer results than requested.", |
| 1488 | + "format": "int32", |
| 1489 | + "type": "integer" |
| 1490 | + }, |
| 1491 | + "pageToken": { |
| 1492 | + "description": "Optional. If present, retrieve the next batch of results from the preceding call to this method. `page_token` must be the value of `next_page_token` from the previous response. The values of all other method parameters, must be identical to those in the previous call.", |
| 1493 | + "type": "string" |
| 1494 | + }, |
| 1495 | + "searchString": { |
| 1496 | + "description": "Optional. Search criteria used to select the Agents to return. If no search criteria is specified then all accessible Agents will be returned. Search expressions can be used to restrict results based upon searchable fields, where the operators can be used along with the suffix wildcard symbol `*`. See [instructions](https://docs.cloud.google.com/agent-registry/search-agents-and-tools) for more details. Allowed operators: `=`, `:`, `NOT`, `AND`, `OR`, and `()`. Searchable fields: | Field | `=` | `:` | `*` | Keyword Search | |--------------------|-----|-----|-----|----------------| | agentId | Yes | Yes | Yes | Included | | name | No | Yes | Yes | Included | | displayName | No | Yes | Yes | Included | | description | No | Yes | No | Included | | skills | No | Yes | No | Included | | skills.id | No | Yes | No | Included | | skills.name | No | Yes | No | Included | | skills.description | No | Yes | No | Included | | skills.tags | No | Yes | No | Included | | skills.examples | No | Yes | No | Included | Examples: * `agentId=urn:agent:projects-123:projects:123:locations:us-central1:reasoningEngines:1234` to find the agent with the specified agent ID. * `name:important` to find agents whose name contains `important` as a word. * `displayName:works*` to find agents whose display name contains words that start with `works`. * `skills.tags:test` to find agents whose skills tags contain `test`. * `planner OR booking` to find agents whose metadata contains the words `planner` or `booking`.", |
| 1497 | + "type": "string" |
| 1498 | + } |
| 1499 | + }, |
| 1500 | + "type": "object" |
| 1501 | + }, |
| 1502 | + "SearchAgentsResponse": { |
| 1503 | + "description": "Message for response to searching Agents", |
| 1504 | + "id": "SearchAgentsResponse", |
| 1505 | + "properties": { |
| 1506 | + "agents": { |
| 1507 | + "description": "A list of Agents that match the `search_string`.", |
| 1508 | + "items": { |
| 1509 | + "$ref": "Agent" |
| 1510 | + }, |
| 1511 | + "type": "array" |
| 1512 | + }, |
| 1513 | + "nextPageToken": { |
| 1514 | + "description": "If there are more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.", |
| 1515 | + "type": "string" |
| 1516 | + } |
| 1517 | + }, |
| 1518 | + "type": "object" |
| 1519 | + }, |
| 1520 | + "SearchMcpServersRequest": { |
| 1521 | + "description": "Message for searching MCP Servers", |
| 1522 | + "id": "SearchMcpServersRequest", |
| 1523 | + "properties": { |
| 1524 | + "pageSize": { |
| 1525 | + "description": "Optional. The maximum number of search results to return per page. The page size is capped at `100`, even if a larger value is specified. A negative value will result in an `INVALID_ARGUMENT` error. If unspecified or set to `0`, a default value of `20` will be used. The server may return fewer results than requested.", |
| 1526 | + "format": "int32", |
| 1527 | + "type": "integer" |
| 1528 | + }, |
| 1529 | + "pageToken": { |
| 1530 | + "description": "Optional. If present, retrieve the next batch of results from the preceding call to this method. `page_token` must be the value of `next_page_token` from the previous response. The values of all other method parameters, must be identical to those in the previous call.", |
| 1531 | + "type": "string" |
| 1532 | + }, |
| 1533 | + "searchString": { |
| 1534 | + "description": "Optional. Search criteria used to select the MCP Servers to return. If no search criteria is specified then all accessible MCP Servers will be returned. Search expressions can be used to restrict results based upon searchable fields, where the operators can be used along with the suffix wildcard symbol `*`. See [instructions](https://docs.cloud.google.com/agent-registry/search-agents-and-tools) for more details. Allowed operators: `=`, `:`, `NOT`, `AND`, `OR`, and `()`. Searchable fields: | Field | `=` | `:` | `*` | Keyword Search | |--------------------|-----|-----|-----|----------------| | mcpServerId | Yes | Yes | Yes | Included | | name | No | Yes | Yes | Included | | displayName | No | Yes | Yes | Included | Examples: * `mcpServerId=urn:mcp:projects-123:projects:123:locations:us-central1:agentregistry:services:service-id` to find the MCP Server with the specified MCP Server ID. * `name:important` to find MCP Servers whose name contains `important` as a word. * `displayName:works*` to find MCP Servers whose display name contains words that start with `works`. * `planner OR booking` to find MCP Servers whose metadata contains the words `planner` or `booking`. * `mcpServerId:service-id AND (displayName:planner OR displayName:booking)` to find MCP Servers whose MCP Server ID contains `service-id` and whose display name contains `planner` or `booking`.", |
| 1535 | + "type": "string" |
| 1536 | + } |
| 1537 | + }, |
| 1538 | + "type": "object" |
| 1539 | + }, |
| 1540 | + "SearchMcpServersResponse": { |
| 1541 | + "description": "Message for response to searching MCP Servers", |
| 1542 | + "id": "SearchMcpServersResponse", |
| 1543 | + "properties": { |
| 1544 | + "mcpServers": { |
| 1545 | + "description": "A list of McpServers that match the `search_string`.", |
| 1546 | + "items": { |
| 1547 | + "$ref": "McpServer" |
| 1548 | + }, |
| 1549 | + "type": "array" |
| 1550 | + }, |
| 1551 | + "nextPageToken": { |
| 1552 | + "description": "If there are more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.", |
| 1553 | + "type": "string" |
| 1554 | + } |
| 1555 | + }, |
| 1556 | + "type": "object" |
| 1557 | + }, |
1420 | 1558 | "Service": { |
1421 | 1559 | "description": "Represents a user-defined Service.", |
1422 | 1560 | "id": "Service", |
|
0 commit comments