Skip to main content

builtin_tool_formats

Function builtin_tool_formats 

Source
pub fn builtin_tool_formats(tool_id: &str) -> Option<bool>
Expand description

Whether a built-in tool has a format invocation, i.e. whether it can fill a format slot. None when tool_id is not a built-in.

There is no matching query for the lint slot: every built-in can fill one, a linter by reporting its diagnostics and a formatter by comparison (see BuiltinLintMode).