Tool tree
gradeNot graded
compile_simulate_drawAction
Compiles quantum code, triggers real-time simulation, and extracts the resulting math and layout structures. Use this tool anytime code is modified or debugged.
View tool JSON
{
"name": "compile_simulate_draw",
"kind": "act",
"impl": "imperative",
"description": "Compiles quantum code, triggers real-time simulation, and extracts the resulting math and layout structures. Use this tool anytime code is modified or debugged.",
"inputSchema": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "The raw quantum source code to run in the editor."
},
"momentum": {
"type": "integer",
"description": "Optional gate execution index to truncate simulation to a specific momentum (for step-by-step debugging/hover simulation). Omit or set to -1 for full circuit execution."
},
"includeSvg": {
"type": "boolean",
"description": "If true, also return the rendered circuit diagram as an SVG string. Omit or set to false to skip (faster, smaller response)."
}
},
"required": [
"code"
],
"additionalProperties": false
}
}list_samplesAnswer
List Sample Available
View tool JSON
{
"name": "list_samples",
"kind": "answer",
"impl": "imperative",
"description": "List Sample Available",
"inputSchema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}open_sampleAction
Open a sample by path, loading its code into the editor. Optionally compiles and simulates it immediately.
View tool JSON
{
"name": "open_sample",
"kind": "act",
"impl": "imperative",
"description": "Open a sample by path, loading its code into the editor. Optionally compiles and simulates it immediately.",
"inputSchema": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "The sample path, e.g. \"samples/qft_simple.js\" (matches a `path` from list_samples)."
},
"execute": {
"type": "boolean",
"description": "If true, also compile and simulate the sample immediately after opening it (equivalent to calling compile_simulate_draw with this sample's code)."
}
},
"required": [
"path"
],
"additionalProperties": false
}
}list_docsAnswer
Lists every documentation page with its title, path, and section headings (with stable handles). Call this first to find which page/section covers a topic, before fetching any content.
View tool JSON
{
"name": "list_docs",
"kind": "answer",
"impl": "imperative",
"description": "Lists every documentation page with its title, path, and section headings (with stable handles). Call this first to find which page/section covers a topic, before fetching any content.",
"inputSchema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}get_doc_contentAnswer
Fetches documentation content to read. Pass only `path` for the full page, or `path` + `handle` (from list_docs) to get just one section, from that heading up to the next heading of equal or higher level — use `handle` whenever possible to avoid pulling more content than needed.
View tool JSON
{
"name": "get_doc_content",
"kind": "answer",
"impl": "imperative",
"description": "Fetches documentation content to read. Pass only `path` for the full page, or `path` + `handle` (from list_docs) to get just one section, from that heading up to the next heading of equal or higher level — use `handle` whenever possible to avoid pulling more content than needed.",
"inputSchema": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "Page path from list_docs, e.g. \"/bench\"."
},
"handle": {
"type": "string",
"description": "Optional section handle from list_docs, e.g. \"the-editor\"."
}
},
"required": [
"path"
],
"additionalProperties": false
}
}navigate_to_docAction
Navigates the user's own browser tab to a documentation page, optionally scrolled to a specific section and page, if not to the docs home. Use this when the user should see the page themselves — not as a way to read content yourself, use get_doc_content for that.
View tool JSON
{
"name": "navigate_to_doc",
"kind": "act",
"impl": "imperative",
"description": "Navigates the user's own browser tab to a documentation page, optionally scrolled to a specific section and page, if not to the docs home. Use this when the user should see the page themselves — not as a way to read content yourself, use get_doc_content for that.",
"inputSchema": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "Optinal page path from list_docs, e.g. \"/bench\". if not provided redirects to docs home"
},
"handle": {
"type": "string",
"description": "Optional section handle to scroll to, e.g. \"the-editor\"."
}
},
"required": [
"path"
],
"additionalProperties": false
}
}get_full_docAnswer
Returns the contents of llms-full.txt as a string which stands for the full documentation of the quantumjs project. Use this tool only if you wish to have and read the full documentation but mind the size is substantial, for shorter queries; prefer list_docs + get_doc_content for anything you already know the topic of, since those return far less text.
View tool JSON
{
"name": "get_full_doc",
"kind": "answer",
"impl": "imperative",
"description": "Returns the contents of llms-full.txt as a string which stands for the full documentation of the quantumjs project. Use this tool only if you wish to have and read the full documentation but mind the size is substantial, for shorter queries; prefer list_docs + get_doc_content for anything you already know the topic of, since those return far less text.",
"inputSchema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}get_skill_mdAnswer
This tools return the content of SKILL.md as string, for agents to read or install in their environment, this skill will teach agents in how to write, understand, and translate QuantumJS code — the expressive DSL for quantum circuit construction targeting OpenQASM 3.0. Covers circuit creation, every gate with exact QASM output, scoped layout staircases, measurement patterns, pipeline abstraction, custom functions, full algorithm library, and detailed translation from Qiskit and QASM into idiomatic QuantumJS.
View tool JSON
{
"name": "get_skill_md",
"kind": "answer",
"impl": "imperative",
"description": "This tools return the content of SKILL.md as string, for agents to read or install in their environment, this skill will teach agents in how to write, understand, and translate QuantumJS code — the expressive DSL for quantum circuit construction targeting OpenQASM 3.0. Covers circuit creation, every gate with exact QASM output, scoped layout staircases, measurement patterns, pipeline abstraction, custom functions, full algorithm library, and detailed translation from Qiskit and QASM into idiomatic QuantumJS.",
"inputSchema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
}