Tool tree
Rikka is a Web Components toolkit built on TC39 Signals. Function-based defineElement, no decorators, full TypeScript inference, ships llms.txt + Agent Skills as part of the project structure.
Implementation
gradeNot graded
gradeNot graded
navigateAction
Navigate to a page within the Rikka site
View tool JSON
{
"name": "navigate",
"kind": "act",
"impl": "imperative",
"description": "Navigate to a page within the Rikka site",
"inputSchema": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "Hash path, e.g. /docs, /playground, /examples"
}
},
"required": [
"path"
]
},
"page": "/rikka/"
}getCurrentPageAnswer
Get the current page path and title
View tool JSON
{
"name": "getCurrentPage",
"kind": "answer",
"impl": "imperative",
"description": "Get the current page path and title",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/rikka/"
}listPagesAnswer
List all available pages on the Rikka site
View tool JSON
{
"name": "listPages",
"kind": "answer",
"impl": "imperative",
"description": "List all available pages on the Rikka site",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/rikka/"
}readDocsAnswer
Read the text content of a documentation page. Returns the visible text (no HTML tags).
View tool JSON
{
"name": "readDocs",
"kind": "answer",
"impl": "imperative",
"description": "Read the text content of a documentation page. Returns the visible text (no HTML tags).",
"inputSchema": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "Doc page path, e.g. /docs/@takanashi/rikka-signal/signal or /docs/@takanashi/rikka-dom/h"
}
},
"required": [
"path"
]
},
"page": "/rikka/"
}searchDocsAnswer
Search documentation pages by keyword. Returns matching pages with snippets.
View tool JSON
{
"name": "searchDocs",
"kind": "answer",
"impl": "imperative",
"description": "Search documentation pages by keyword. Returns matching pages with snippets.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search keyword, e.g. \"signal\", \"defineElement\", \"css\""
}
},
"required": [
"query"
]
},
"page": "/rikka/"
}runPlaygroundAction
Run code in the Rikka Playground. Navigates to /playground if not already there, sets the code, and executes it.
View tool JSON
{
"name": "runPlayground",
"kind": "act",
"impl": "imperative",
"description": "Run code in the Rikka Playground. Navigates to /playground if not already there, sets the code, and executes it.",
"inputSchema": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "TypeScript code to run. rikka-signal, rikka-dom, and rikka-elements are available as globals."
}
},
"required": [
"code"
]
},
"page": "/rikka/"
}getPlaygroundCodeAnswer
Get the current code in the Rikka Playground editor.
View tool JSON
{
"name": "getPlaygroundCode",
"kind": "answer",
"impl": "imperative",
"description": "Get the current code in the Rikka Playground editor.",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/rikka/"
}getThemeAnswer
Get the current site theme (light, dark, or auto).
View tool JSON
{
"name": "getTheme",
"kind": "answer",
"impl": "imperative",
"description": "Get the current site theme (light, dark, or auto).",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/rikka/"
}setThemeAction
Set the site theme.
View tool JSON
{
"name": "setTheme",
"kind": "act",
"impl": "imperative",
"description": "Set the site theme.",
"inputSchema": {
"type": "object",
"properties": {
"theme": {
"type": "string",
"description": "Theme mode: \"light\", \"dark\", or \"auto\""
}
},
"required": [
"theme"
]
},
"page": "/rikka/"
}getApiReferenceAnswer
Get the API reference for a specific rikka package or function.
View tool JSON
{
"name": "getApiReference",
"kind": "answer",
"impl": "imperative",
"description": "Get the API reference for a specific rikka package or function.",
"inputSchema": {
"type": "object",
"properties": {
"package": {
"type": "string",
"description": "Package name: \"rikka-signal\", \"rikka-dom\", or \"rikka-elements\""
}
}
},
"page": "/rikka/"
}