fetch_and_implement_component
Fetch a Joko UI component and write it to a file in one step, adding production-ready Tailwind CSS components directly to your project.
Instructions
Fetch component code from Joko UI repository and write it to a file.
Combines fetch_component and implement_component in one step. Perfect
for quickly adding Joko UI components to your project.
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": {
"componentId": "<componentId>",
"outputPath": "<outputPath>"
},
"name": "fetch_and_implement_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Direct URL to component page (overrides componentId) | |
| outputPath | Yes | File path to write component (e.g., ./src/components/Hero.tsx) | |
| componentId | Yes | Component ID (e.g., 'alerts', 'buttons', 'heroes', 'pricing') | |
| createDirectories | No | Create parent directories if needed (default: true) |