Tool tree
Open-source cookie consent SDK for React and Next.js. Manage consent in code, control when third-party tools load, and keep everything in your frontend.
Implementation
gradeNot graded
gradeNot graded
page: Every page
search_docsAnswer
Search the CookieYes SDK documentation. Returns matching pages with title, URL and an excerpt. Restrict to one framework with `framework`: nextjs, react or core (plain JavaScript).
View tool JSON
{
"name": "search_docs",
"kind": "answer",
"impl": "imperative",
"description": "Search the CookieYes SDK documentation. Returns matching pages with title, URL and an excerpt. Restrict to one framework with `framework`: nextjs, react or core (plain JavaScript).",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Words to search for; every word must match."
},
"framework": {
"type": "string",
"enum": [
"nextjs",
"react",
"core"
]
}
},
"required": [
"query"
]
},
"page": "/"
}read_pageAnswer
Read a page of this site as Markdown. Pass the path, for example /docs/nextjs/getting-started/installation or / for the home page.
View tool JSON
{
"name": "read_page",
"kind": "answer",
"impl": "imperative",
"description": "Read a page of this site as Markdown. Pass the path, for example /docs/nextjs/getting-started/installation or / for the home page.",
"inputSchema": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "A path on this site, starting with /."
}
},
"required": [
"path"
]
},
"page": "/"
}