Implementation
gradeNot graded
gradeNot graded
page: Every page
kookie_list_componentsAnswer
List the components KookieUI exports, with a one-line abstract and the page path for each. Filter by the job a person is doing or by a word, which also searches what each component refuses.
View tool JSON
{
"name": "kookie_list_components",
"kind": "answer",
"impl": "imperative",
"description": "List the components KookieUI exports, with a one-line abstract and the page path for each. Filter by the job a person is doing or by a word, which also searches what each component refuses.",
"inputSchema": {
"type": "object",
"properties": {
"job": {
"type": "string",
"description": "One of: Act, Arrange, Browse, Choose, Converse, Enter, Focus, Go, Know, Read."
},
"query": {
"type": "string",
"description": "A word to match against names, abstracts and refusals."
}
}
},
"page": "/"
}kookie_get_componentAnswer
Get one component's documentation page as markdown: what it is, how it composes, its props, and — the part that matters most — what it refuses and why.
View tool JSON
{
"name": "kookie_get_component",
"kind": "answer",
"impl": "imperative",
"description": "Get one component's documentation page as markdown: what it is, how it composes, its props, and — the part that matters most — what it refuses and why.",
"inputSchema": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The exported name (Button) or the URL segment (button)."
}
},
"required": [
"name"
]
},
"page": "/"
}kookie_check_usageAnswer
Check a snippet of JSX against the KookieUI vocabulary this site is built on: imported names and tag names against the package's export list, and every literal prop value against the closed axis that prop belongs to. A scan, not a compiler.
View tool JSON
{
"name": "kookie_check_usage",
"kind": "answer",
"impl": "imperative",
"description": "Check a snippet of JSX against the KookieUI vocabulary this site is built on: imported names and tag names against the package's export list, and every literal prop value against the closed axis that prop belongs to. A scan, not a compiler.",
"inputSchema": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "The JSX to check."
}
},
"required": [
"code"
]
},
"page": "/"
}kookie_get_tokensAnswer
Look up KookieUI design tokens by name and read what they resolve to on this page right now, with the reader's own appearance, contrast and density applied.
View tool JSON
{
"name": "kookie_get_tokens",
"kind": "answer",
"impl": "imperative",
"description": "Look up KookieUI design tokens by name and read what they resolve to on this page right now, with the reader's own appearance, contrast and density applied.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Part of a token name, such as accent, radius, or --color-surface."
}
},
"required": [
"query"
]
},
"page": "/"
}