Skip to main content

is_cacheable

Function is_cacheable 

Source
pub fn is_cacheable(tool_name: &str) -> bool
Expand description

Returns true if the tool’s results can be safely cached.

MCP tools (identified by mcp_ prefix) are always non-cacheable by default since they are third-party and may have unknown side effects.