Get an Ecosphere component's API
get_componentGet the full API of one Ecosphere component for Vue or React: every prop with type, default and description, events, slots, v-model bindings (Vue) or controlled props and callbacks (React), the import line, and the ecosphere.dev docs URL plus its markdown version with Vue and React examples. Also answers composables/hooks (useToast, useConfirm, useEcoId), guides and markup patterns (loading-state, table-fixed). Accepts EcoDataTable, DataTable, data-table or "data table".
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": {
"name": "<name>"
},
"name": "get_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Component, composable or page name, e.g. "EcoDialog", "date-picker", "useToast", "loading-state". | |
| framework | No | vue (vue-ecosphere, default), react (react-ecosphere) or both. |