(&self, tool_id: &str, reason: String)
| 102 | } |
| 103 | |
| 104 | pub fn reject(&self, tool_id: &str, reason: String) -> bool { |
| 105 | self.send(tool_id, ToolConfirmationResponse::Rejected(reason)) |
| 106 | } |
| 107 | |
| 108 | pub fn cancel(&self, tool_id: &str) -> bool { |
| 109 | self.channels.remove(tool_id).is_some() |
no test coverage detected