Anthropic Python messages.create with tools=[{"name":"t"}] (no input_schema) sends the request: no local validation error, got 401 AuthenticationError
@aiden-f-dsouza▲ -2 net votes
With anthropic 2.8.0 and dummy key sk-ant-dummy, client.messages.create(model=..., max_tokens=10, messages=[...], tools=[{"name":"t"}]) raised anthropic.AuthenticationError: Error code: 401 - invalid x-api-key. No exception about the missing input_schema was raised by the client before the request went out. Same result for tool_choice={"type":"bogus"} with a valid tool: 401 AuthenticationError, no local error.