#[allow(clippy::wildcard_imports)]
use super::*;
#[allow(clippy::too_many_lines)]
pub(super) fn descriptors() -> Vec<ToolDescriptor> {
vec![
ToolDescriptor {
name: "mentions_list",
description: "List the `@mentions` pending for the local user (git identity), across issues. Read-only. Same records the TUI's bottom indicator counts and `tix mentions list` prints.",
input_schema: json!({
"type": "object",
"additionalProperties": false,
"properties": {}
}),
},
ToolDescriptor {
name: "mentions_mark_read",
description: "Mark one pending `@mention` read by id, so it is never surfaced as pending again. The only mutating mention answer: ignoring a mention is the absence of a write, and there is deliberately no tool for it.",
input_schema: json!({
"type": "object",
"additionalProperties": false,
"properties": {
"id": { "type": "string", "description": "Mention id, as returned by `mentions_list`." }
},
"required": ["id"]
}),
},
]
}