Tools And Integrationsのロゴ

Tools And Integrations

組織
VectorSpaceLab
tools-and-integrations

Bind and troubleshoot ADK Python tools, ToolContext, long-running and confirmation tools, auth, MCP/OpenAPI/Google API/cloud integrations, A2A helpers, and optional extras.

概要

公開者VectorSpaceLab
リポジトリAREX-Skill
スキル名tools-and-integrations
スター
341
フォーク
26
同梱ファイル
4
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 4個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    VectorSpaceLabがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Tools And Integrations」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/VectorSpaceLab/AREX-Skill/tree/main/skills/repositories/repo-skills/adk-python/sub-skills/tools-and-integrations
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/VectorSpaceLab/AREX-Skill.git /tmp/AREX-Skill
mkdir -p .claude/skills
cp -r /tmp/AREX-Skill/skills/repositories/repo-skills/adk-python/sub-skills/tools-and-integrations .claude/skills/tools-and-integrations
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでTools And Integrationsを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にTools And Integrationsを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Tools And Integrationsは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

ADK Tools and Integrations

Use this sub-skill when a user asks to add, wrap, authenticate, expose, or debug tools and integration toolsets in an ADK Python agent.

Route Here

  • Bind Python functions with FunctionTool, LongRunningFunctionTool, ToolContext, request_input, or explicit tool_context.request_confirmation().
  • Build custom BaseTool or BaseToolset classes, filter/prefix toolsets, or close toolset resources safely.
  • Wrap agents as tools with AgentTool, delegate with TransferToAgentTool or transfer_to_agent, or diagnose tool-name routing issues.
  • Add auth with AuthConfig, AuthCredential, AuthenticatedFunctionTool, OpenAPI auth helpers, MCP auth, or credential request flows.
  • Configure MCP, OpenAPI, API Hub, Google API, Application Integration, BigQuery/Bigtable/Spanner/Pub/Sub/Data Agent/Toolbox/Slack/A2A integrations.
  • Diagnose missing optional extras such as google-adk[mcp], google-adk[extensions], google-adk[gcp], google-adk[tools], google-adk[a2a], google-adk[toolbox], or google-adk[db].

Route Elsewhere

  • Agent constructor field placement, model, instruction, schemas, and callback basics: use agent-construction.
  • CLI command usage, app discovery, local servers, deployment, and YAML config loading: use cli-configuration-deployment.
  • Runner, App, session/memory/artifact persistence, plugins, telemetry, and service lifecycles: use runtime-services.
  • Workflow graph nodes, Workflow, HITL node resume, joins, and dynamic graph routing: use workflow-orchestration.
  • Modifying ADK repository source, style, tests, docs, or samples: use repo-development.

Quick Start

  1. Prefer bare callables for simple tools; wrap with FunctionTool(func=..., require_confirmation=...) only when you need confirmation or explicit tool object behavior.
  2. Add tool_context: ToolContext only when the tool needs state, artifacts, credentials, confirmation, transfer actions, or workflow node helpers; the parameter must be named tool_context.
  3. Return JSON-serializable dictionaries for structured tool results; return {"error": "..."} when the model should see a recoverable tool failure.
  4. Use LongRunningFunctionTool for work that returns pending status or pauses for external input; do not retry the same long-running call unless the returned event requests it.
  5. Treat MCP, cloud, database, and A2A helpers as optional-extra surfaces; first run the bundled inspection script before assuming an import is available.
python
from google.adk import Agent
from google.adk.tools import FunctionTool, ToolContext


def transfer_funds(amount: float, recipient: str, tool_context: ToolContext):
  """Transfer funds after ADK collects confirmation."""
  return {"status": "scheduled", "amount": amount, "recipient": recipient}


root_agent = Agent(
    name="finance_agent",
    model="gemini-3.5-flash",
    instruction="Use tools for account operations and explain the result.",
    tools=[FunctionTool(func=transfer_funds, require_confirmation=True)],
)

References

  • API reference — public classes, constructors, auth models, tool context methods, integration toolset families, optional extras, and local validation checks.
  • Workflows — recipes for function tools, confirmation, long-running tools, MCP, OpenAPI, Google API/cloud integrations, A2A exposure, and safe fallback planning.
  • Troubleshooting — fixes for missing extras, credentials, auth config, schema conversion, MCP sessions, cloud clients, confirmation confusion, and swallowed tool errors.
  • Inspection script — no-network diagnostic that prints installed tool signatures and reports optional-extra availability without failing the whole run.

Tooling Checklist

  • Tool names are stable, unique, and derived from clear function/class names; descriptions come from docstrings or explicit BaseTool descriptions.
  • Function parameters are typed with JSON-schema-friendly types; Pydantic models are accepted for structured arguments but should be validated before side effects.
  • ToolContext is used for state, credentials, confirmation, memory/artifacts, transfer actions, or node execution; it is not exposed to the model as a normal argument.
  • Sensitive operations require either require_confirmation=True or explicit tool_context.request_confirmation() handling.
  • Integration code documents which extra and which credential source are required, and includes a local import/help probe before any network or credential-dependent call.
  • Tool exceptions are either intentionally propagated or translated by on_tool_error_callback; recoverable domain failures return a function response such as {"error": "..."}.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Tools And Integrations」では何ができますか?

Bind and troubleshoot ADK Python tools, ToolContext, long-running and confirmation tools, auth, MCP/OpenAPI/Google API/cloud integrations, A2A helpers, and optional extras.

TypingMindでTools And Integrationsを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Tools And Integrationsはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにTools And Integrationsをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/VectorSpaceLab/AREX-Skill/tree/main/skills/repositories/repo-skills/adk-python/sub-skills/tools-and-integrationsを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Tools And Integrationsを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Tools And Integrationsで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもTools And Integrationsを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Tools And Integrations」は無料ですか?

はい。VectorSpaceLabがApache-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇