A Python toolkit groups one or more Python tools so you can import them into watsonx Orchestrate as a single unit. To create a toolkit, place all related Python tools in one folder.Each Python tool includes one or more Python files. In those files, you define functions and annotate them with the @tool decorator so watsonx Orchestrate exposes each function as a usable tool. For more information about Python tools, see Authoring Python-Based Tools.After you package your tools in a folder, you can add the toolkit to watsonx Orchestrate directly from the ADK CLI or import it from a file.
The command used to start the MCP server. This can be a string (e.g. 'node dist/index.js --transport stdio') or a JSON-style list (e.g. '["node", "dist/index.js", "--transport", "stdio"]').
The app_id to of a connection to associate with this toolkit. Only key_value connections are supported. Each key and value within the connection will be exposed as environment variables to the mcp server. For more information, see Connections.
You can also import a Python toolkit from a YAML file. This file defines the same configuration options as the add command and fits well into import scripts and CI/CD pipelines.Use the orchestrate toolkits import command to import a toolkit from a file.
BASH
orchestrate toolkits import -f <path to spec> --app-id <connection>
The app_id to of a connection to associate with this toolkit. Only key_value connections are supported. Each key and value within the connection will be exposed as environment variables to the mcp server. For more information, see Connections.