arcade-mcp/arcade/tests/tool
Eric Gustin e26f647c3d
Add 'Invalid Renamed Tool Parameter' Check (#324)
Arcade tools can rename parameters like so,

```py
@tool()
def func_with_renamed_param(
    param1: Annotated[str, "MyRenamedParam", "The first parameter"],
):
    pass
```

but there is no check for whether the renamed parameter is a valid
identifier.

Anthropic models, for example, will fail if a renamed parameter is not a
valid identifier (which was the cause for
https://github.com/ArcadeAI/arcade-ai/pull/319).
2025-03-22 09:25:56 -07:00
..
test_create_tool_definition.py feat: Tool secrets (#252) 2025-02-27 15:56:11 -08:00
test_create_tool_definition_errors.py Add 'Invalid Renamed Tool Parameter' Check (#324) 2025-03-22 09:25:56 -07:00
test_create_tool_definition_new.py Rename inputs -> input to match Engine (#190) 2025-01-03 17:42:58 -08:00
test_create_tool_definition_pydantic.py Rename inputs -> input to match Engine (#190) 2025-01-03 17:42:58 -08:00
test_create_tool_definition_pydantic_errors.py Add ToolContext and OAuth tool support (#10) 2024-08-02 11:25:08 -07:00
test_fully_qualified_tool_name.py SDK: Fully qualified tool names (#47) 2024-09-23 15:47:36 -07:00