Claude never sees your function's code. It only sees a description of it, and that description has three parts.
name is what Claude calls it by, like get_weather. Letters, digits, underscores and dashes, up to 128 characters. description is plain English: what the tool does and when to use it. input_schema says what arguments it takes, written in JSON Schema, a standard way to describe the shape of a JSON object.