| 347 | /// The specification for the tool. |
| 348 | #[derive(Debug, Clone, Serialize, Deserialize)] |
| 349 | pub struct ToolSpecification { |
| 350 | /// The name for the tool. |
| 351 | pub name: String, |
| 352 | /// The description for the tool. |
| 353 | pub description: String, |
| 354 | /// The input schema for the tool in JSON format. |
| 355 | pub input_schema: ToolInputSchema, |
| 356 | } |
| 357 | |
| 358 | impl From<ToolSpecification> for amzn_codewhisperer_streaming_client::types::ToolSpecification { |
| 359 | fn from(value: ToolSpecification) -> Self { |
no outgoing calls
no test coverage detected