According to the MCP specification, the annotations field is defined to provide additional context or metadata for tools and embedded resources. { "type": "resource ...
optional/nullable. When using FunctionTool.create(), all method parameters are included in the "required" array of the generated function schema, with no mechanism to specify that certain parameters ...