Marker UDA declaring the readOnlyHint behavioral hint (the MCP spec's ToolAnnotations.readOnlyHint). Attach alongside @tool; presence sets the hint to true, absence leaves it unset (omitted from the wire form).
@tool("search", "Search records") @readOnly string[] search(string q) { ... }
Marker UDA declaring the readOnlyHint behavioral hint (the MCP spec's ToolAnnotations.readOnlyHint). Attach alongside @tool; presence sets the hint to true, absence leaves it unset (omitted from the wire form).