generate_retry_message
Generate a canonical retry feedback message for an LLM from a tool name, validation error, and attempted arguments, using the same formatting as runtime callers.
Instructions
Given a tool name, validation error, and attempted args, build the canonical LLM-facing retry feedback message. Uses agentvet's ToolArgError.toLLMFeedback() formatting so the wording matches what runtime callers see.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool_name | Yes | ||
| validation_error | Yes | ||
| attempted_args | Yes |