arcade-mcp/arcade/tests
Eric Gustin 1bd8eac6ed
Add Ability to Disable Tools (#215)
# PR Description
This PR introduces a new environment variable `ARCADE_DISABLED_TOOLS`.
Tools that are added to this env var are not added to the worker's
`ToolCatalog`. In effect, they are disabled for the worker.

## How to use the `ARCADE_DISABLED_TOOLS` environment variable
* Each tool is separated by a comma.
* For each tool, specify the toolkit name in camel case and the tool
name in camel case.
* Do not include versions. (This is a simple implementation. We can add
disabling specific versions in the future if needed)
* Separate the toolkit name and the tool name with your environment's
tool name separator. By default, the tool name separator is `.`, but you
can override this with the `ARCADE_TOOL_NAME_SEPARATOR` environment
variable.

Correct: `export
ARCADE_DISABLED_TOOLS="Math.Add,Spotify.GetAvailableDevices,Math.Sqrt"`
Incorrect: `export
ARCADE_DISABLED_TOOLS="Math.Add@0.1.0,Spotify.get_available_devices,Sqrt`
2025-01-21 15:56:40 -08:00
..
cli Fix /show for Cloud Engine (#177) 2024-12-19 10:13:58 -08:00
core Add Ability to Disable Tools (#215) 2025-01-21 15:56:40 -08:00
sdk Update auth provider_id (#173) 2025-01-17 11:38:06 -08:00
tool Update auth provider_id (#173) 2025-01-17 11:38:06 -08:00
__init__.py Tool SDK, Schemas (#2) 2024-07-14 23:37:46 -07:00