MCPcopy Create free account
hub / github.com/aws/amazon-q-developer-cli / ToolSpecification

Class ToolSpecification

crates/chat-cli/src/api_client/model.rs:349–356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

347/// The specification for the tool.
348#[derive(Debug, Clone, Serialize, Deserialize)]
349pub 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
358impl From<ToolSpecification> for amzn_codewhisperer_streaming_client::types::ToolSpecification {
359 fn from(value: ToolSpecification) -> Self {

Callers 3

fromMethod · 0.70
update_stateMethod · 0.50
format_tool_specFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected