Component
core/ai-tool/search
A read-only tool that answers an agent's question from the public web through a managed search API, so a deployment can reach current information without operating a crawler or an index of its own. The developer names the search provider, defaulting to Tavily, and how many results a query returns, defaulting to five. Declared as a resource: the search service is operated outside the deployment, which consumes it rather than running it. Its effect is pinned read-only in its own schema. Realized on Kubernetes and on Docker Compose as a reference realization, selected in the Manifest: neither provisions anything and no container runs for the tool. On Kubernetes the helm provider emits an ExternalName Service mapping an in-cluster name onto the search API's base address; on Compose no service is defined for it, and the address reaches the consuming service through the injection context instead. Both publish the same base address, provider name and result count, so a consumer wires to either unchanged.
出處
- 內容摘要
- sha256:43a0fdde1aa1ec6947c3a6c2c1d08b6eb852a3c220697cbb88e291e957123852
- 發布時間
- 2026-11-10T10:10:08Z
- 簽署身分
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
簽章
- 官方application/vnd.dev.sigstore.bundle.v0.3+json
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
sha256:2a0b75f5bd739e49d847017b2c0e426b82366fb940990c4746260ad0608ba8b0
此版本的參照
oci://hub.aggrega.ai/component/core/ai-tool/search:1.0.0開發者參數
開發者在 Aggregate 中設定的值。
擴充 BaseComponents#/schemas/BaseToolParameter
| 名稱 | 型別 | 預設 | 必填 | 描述 |
|---|---|---|---|---|
| provider | string | tavily | 是 | — |
| max_results | integer | 5 | 是 | — |
| side_effects | string (read_only) | read_only | 是 | — |
操作員資源規格
操作員依各環境調整的基礎架構資源規格。
| 名稱 | 型別 | 預設 | 必填 | 描述 |
|---|---|---|---|---|
| endpoint | string | https://api.tavily.com | 否 | — |
輸出契約
此元件透過 uses 拓撲向使用端發布的值。
| 名稱 | 型別 | 預設 | 必填 | 描述 |
|---|---|---|---|---|
| endpoint | string | — | 是 | Base URL of the managed search API the tool queries. The Release supplies it, so an operator may point it at a different host without the Aggregate changing. |
| provider | string | — | 是 | Name of the search service behind the endpoint, carried through from the value the Aggregate declared. A consumer reads it to know whose results it is reading and whose terms it is bound by. |
| max_results | integer | — | 是 | How many results a single query returns, carried through from the value the Aggregate declared. A consumer reads it to size the material it will put in front of a model. |
Uses 插槽
此元件用來連線的相依插槽。經由插槽連接的每個連線,其目標都必須符合該插槽的標籤選擇器,且每個連線可在該插槽宣告的槽位中帶有附加項目。Aggregate 或 Release 經由該插槽連接的每個連線,都必須提供必填槽位。
未宣告任何 uses 插槽。
附加槽位
Feature 附加到此元件的具名繫結點。槽位的選擇器限制哪個 Feature 可以填入該槽位,其注入清單則指明該 Feature 的內容可以如何傳遞。必填槽位必須在每個實例上繫結,方式是在該實例上或其上層範圍中附加項目;敏感槽位則宣告用於處理機密內容。Feature 也可以附加在沒有任何槽位宣告的名稱之下。
未宣告任何附加槽位。
自我注入允許清單
未宣告任何自我注入管道。
關係
與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。
使用
- $ref擴充結構描述(values)
BaseComponents#/schemas/BaseToolParameter
被使用於
實作
實作