get_component_example
Retrieves a complete usage example for an Ant Design component, providing TypeScript and React code for integration.
Instructions
Get a complete usage example for a specific Ant Design component with TypeScript and React code.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"componentName": "<componentName>"
},
"name": "get_component_example"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| componentName | Yes | The name of the Ant Design component |