Implementation
gradeNot graded
gradeNot graded
page: Every page
storybook.list-all-documentationAnswer
List all components and unattached docs in this Storybook.
View tool JSON
{
"name": "storybook.list-all-documentation",
"kind": "answer",
"impl": "imperative",
"description": "List all components and unattached docs in this Storybook.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"page": "/core-ui/?path=/docs/introduction--stories"
}storybook.get-documentationAnswer
Get full documentation (props, first 3 stories, story index) for one component by id.
View tool JSON
{
"name": "storybook.get-documentation",
"kind": "answer",
"impl": "imperative",
"description": "Get full documentation (props, first 3 stories, story index) for one component by id.",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Component id, e.g. ui-button."
}
},
"required": [
"id"
],
"additionalProperties": false
},
"page": "/core-ui/?path=/docs/introduction--stories"
}storybook.get-documentation-for-storyAnswer
Get a single story by storyId, or by componentId + storyName.
View tool JSON
{
"name": "storybook.get-documentation-for-story",
"kind": "answer",
"impl": "imperative",
"description": "Get a single story by storyId, or by componentId + storyName.",
"inputSchema": {
"type": "object",
"oneOf": [
{
"required": [
"storyId"
],
"properties": {
"storyId": {
"type": "string"
}
}
},
{
"required": [
"componentId",
"storyName"
],
"properties": {
"componentId": {
"type": "string"
},
"storyName": {
"type": "string"
}
}
}
],
"additionalProperties": false
},
"page": "/core-ui/?path=/docs/introduction--stories"
}