ToolDefinition
A tool definition for a gateway target. This structure defines a tool that the target exposes through the Model Context Protocol.
Contents
- description
-
The description of the tool. This description provides information about the purpose and usage of the tool.
Type: String
Required: Yes
- inputSchema
-
The input schema for the tool. This schema defines the structure of the input that the tool accepts.
Type: SchemaDefinition object
Required: Yes
- name
-
The name of the tool. This name identifies the tool in the Model Context Protocol.
Type: String
Required: Yes
- outputSchema
-
The output schema for the tool. This schema defines the structure of the output that the tool produces.
Type: SchemaDefinition object
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: