The spec kind discriminant (`mcp` or `script`).
(&self)
| 70 | |
| 71 | /// The spec kind discriminant (`mcp` or `script`). |
| 72 | pub fn kind(&self) -> &str { |
| 73 | match self { |
| 74 | ToolSpec::Mcp(_) => "mcp", |
| 75 | ToolSpec::Script(_) => "script", |
| 76 | } |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | /// A sandboxed QuickJS tool parsed from a `kind = "script"` file. Names a |
no outgoing calls
no test coverage detected