複数のエージェント(自動処理プログラム)で共有できる独立した再利用可能なツールを作成・管理します。SQL、プロンプト、RAG(大規模データから必要な情報を抽出する技術)、HTTP、カスタム、MCP といった複数の種類に対応しており、キーを通じてエージェントの処理フロー間で共有できます。 **次のような場合に使用:** - ユーザーが再利用可能なツールを定義したい(単一のフローに組み込むのではなく) - ツールの一覧表示、作成、更新、削除を行いたい - ツールをテストしたい - エージェントやエージェント処理フローのノード(処理単位)から参照されるツールを構築したい 単一のフロー内にツールをノードとして組み込む場合については、aidp-agent-flows と references/agent-flow-nodes.md をご覧ください。
Create and manage standalone reusable AIDP agent Tools — SQL, Prompt, RAG, HTTP, Custom, and MCP tools that can be shared across agent flows by key. Use when the user wants to define a reusable tool (not inline in one flow), list/create/update/delete a tool, test a tool, or build a tool an agent/agent-flow node will reference. For attaching a tool inside a single flow as a node, see aidp-agent-flows + references/agent-flow-nodes.md.
aidp-tools — スタンドアロン再利用可能 Agent ツールスタンドアロン Tool とは、Agent または Agent フローノードが toolKey で参照する再利用可能なツールオブジェクトです。
各フローに設定をインラインで記述する代わりに利用します。
LA AgentFlows ファミリー配下の Workspace スコープで管理されます。
エンジン:
oci raw-request --profile DEFAULT(v1.0.0 では CLI グループなし)。Workspace スコープ。 書き込みパスは 2026-06-10 に本番環境で検証済み(oaseceal上でラウンドトリップ確認):POST …/workspaces/<ws>/tools→ 200(key、toolConfig、toolProvider、toolType、inputSchema等を返却);DELETE …/tools/<key>→ 204。
aidp-agent-flows、references/agent-flow-nodes.md を参照)。toolType)SQL · PROMPT · RAG · HTTP · CUSTOM · MCP(検証済み enum。ツール詳細モデルとして NL_TO_SQL も存在)。
各種類に対応する toolConfig が付随します(例: PromptToolConfiguration {llm, promptText, modelSettings}、SqlToolConfiguration、RagToolConfiguration → Knowledge Base が必要、など)。
oci raw-request)| 操作 | 呼び出し |
|---|---|
| 一覧取得 | GET …/workspaces/<ws>/tools |
| 作成 | POST …/workspaces/<ws>/tools — ボディ {displayName, description, toolType, properties, inputSchema, toolConfig} |
| 取得 / 更新 / 削除 | GET / PUT / DELETE …/workspaces/<ws>/tools/<key> |
| テスト | POST …/workspaces/<ws>/tools/actions/test(TestMcpExternalTool 形式のボディ)— 本番環境でリクエスト形式を要確認 |
検証済み作成例(CUSTOM、最小構成 — ラウンドトリップ確認済み):
oci raw-request --http-method POST --profile DEFAULT \
--target-uri "https://aidp.<region>.oci.oraclecloud.com/20240831/dataLakes/<OCID>/workspaces/<WS>/tools" \
--request-body '{"displayName":"my_tool","description":"…","toolType":"CUSTOM","properties":{}}'
# → 200、"key" を返却。削除は DELETE …/tools/<key> → 204
命名規則(検証済み): 先頭は英字で始めること。使用できる特殊文字は _ のみ
(先頭が _ またはその他の記号から始まる場合 → 400 InvalidParameter)。
返却された key を、ツールノード(SQL_TOOL / PROMPT_TOOL / RAG_TOOL / HTTP_TOOL / CUSTOM_TOOL / MCP_TOOL)の toolKey として参照します。
詳細は references/agent-flow-nodes.md を参照してください。
RAG ツールを使用する場合は、事前に Knowledge Base の作成が必要です(aidp-knowledge-bases)。
.aidp/payloads/ に保存してください(references/payloads.md 参照)。シークレットをインラインで記述しないこと — aidp-credentials を使用してください。toolConfig フィールド名: 複雑な設定を記述する前に、SDK の create_*_tool_details または既存ツールを GET で取得してフィールド名を確認してください。設定フィールドを推測で補完しないこと。aidp-tools — standalone reusable agent toolsA standalone Tool is a reusable tool object an agent or an agent-flow node references by toolKey,
instead of inlining the config in every flow. Workspace-scoped under the LA AgentFlows family.
Engine:
oci raw-request --profile DEFAULT(no CLI group in v1.0.0). Workspace-scoped, and the write path is VERIFIED live 2026-06-10 (round-trip onoaseceal):POST …/workspaces/<ws>/tools→ 200 (returnskey,toolConfig,toolProvider,toolType,inputSchema, …);DELETE …/tools/<key>→ 204.
aidp-agent-flows, references/agent-flow-nodes.md).toolType)SQL · PROMPT · RAG · HTTP · CUSTOM · MCP (verified enum; NL_TO_SQL also exists as a
tool-details model). Each carries a toolConfig of the matching type (e.g. PromptToolConfiguration
{llm, promptText, modelSettings}, SqlToolConfiguration, RagToolConfiguration → needs a KB, etc.).
oci raw-request)| Op | Call |
|---|---|
| List | GET …/workspaces/<ws>/tools |
| Create | POST …/workspaces/<ws>/tools — body {displayName, description, toolType, properties, inputSchema, toolConfig} |
| Get / Update / Delete | GET/PUT/DELETE …/workspaces/<ws>/tools/<key> |
| Test | POST …/workspaces/<ws>/tools/actions/test (TestMcpExternalTool-style body) — confirm shape live |
Verified create example (CUSTOM, minimal — round-tripped):
oci raw-request --http-method POST --profile DEFAULT \
--target-uri "https://aidp.<region>.oci.oraclecloud.com/20240831/dataLakes/<OCID>/workspaces/<WS>/tools" \
--request-body '{"displayName":"my_tool","description":"…","toolType":"CUSTOM","properties":{}}'
# → 200, returns "key"; delete with DELETE …/tools/<key> → 204
Name rule (verified): must start with a letter; only _ is allowed as a special character (a leading _
or other punctuation → 400 InvalidParameter).
Reference the returned key as toolKey on a tool node (SQL_TOOL/PROMPT_TOOL/RAG_TOOL/HTTP_TOOL/
CUSTOM_TOOL/MCP_TOOL) — see references/agent-flow-nodes.md. RAG
tools require a Knowledge Base first (aidp-knowledge-bases).
.aidp/payloads/
(references/payloads.md). Don't inline secrets — use aidp-credentials.toolConfig field names: confirm against the SDK create_*_tool_details / a live GET of an
existing tool before authoring a non-trivial config; don't fabricate config fields.原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。