use blazingly_json::{Value, json};
pub(super) fn documented(tool: &str, name: &str) -> Option<Value> {
if name == "token_budget" {
return Some(json!({
"type": "integer",
"minimum": 1,
"description": "Approximate output ceiling in tokens (serialized bytes / 4); result arrays are trimmed from the tail to fit and the report states what was dropped"
}));
}
if name == "relation_filter" {
return Some(json!({
"oneOf": [
{"type": "string"},
{"type": "array", "items": {"type": "string"}}
]
}));
}
if tool != "find_duplicates" {
return None;
}
match name {
"include_strings" => Some(json!({
"type": "boolean",
"default": false,
"description": "Also compare multi-line string payloads - inline SQL, templates, embedded scripts - which the code pass sees as a single token"
})),
"include_declarative" => Some(json!({
"type": "boolean",
"default": true,
"description": "High-recall by default; false suppresses data-only catalogs but retains model, schema, and contract clones"
})),
_ => None,
}
}