Skip to main content
Use client.toolkits for tenant-managed JavaScript or TypeScript modules that define multiple custom tools.

Validate before import

Validation parses the module and returns the discovered definitions and diagnostics without importing or assigning tools. Validation and execution require the deployment’s Deno sandbox runtime. A missing sandbox runtime fails validation without persisting the toolkit.

Import and manage

Python also exposes import_file(path, module_name=...). Although the current Python method signature retains a target_agent_ids compatibility parameter, the backend import contract rejects that field when it is non-null. Omit it in both SDKs and assign imported tools afterward through client.agents.tools. Toolkit administration requires tenant-admin permission. Uninstall removes all tools owned by the module, so inspect agent assignments and other dependencies first.