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).
|
||
|---|---|---|
| .. | ||
| test_create_tool_definition.py | ||
| test_create_tool_definition_errors.py | ||
| test_create_tool_definition_new.py | ||
| test_create_tool_definition_pydantic.py | ||
| test_create_tool_definition_pydantic_errors.py | ||
| test_fully_qualified_tool_name.py | ||