| 399 | /// from the tool to generate a response. |
| 400 | #[derive(Debug, Clone, Serialize, Deserialize)] |
| 401 | pub struct ToolUse { |
| 402 | /// The ID for the tool request. |
| 403 | pub tool_use_id: String, |
| 404 | /// The name for the tool. |
| 405 | pub name: String, |
| 406 | /// The input to pass to the tool. |
| 407 | pub input: FigDocument, |
| 408 | } |
| 409 | |
| 410 | impl From<ToolUse> for amzn_codewhisperer_streaming_client::types::ToolUse { |
| 411 | fn from(value: ToolUse) -> Self { |
no outgoing calls
no test coverage detected