Tool tree
A JavaScript engine for code that AI agents and people write, with host-defined capabilities and limits, live test262 evidence and native application embedding.
Implementation
gradeNot graded
gradeNot graded
page: Every page
goccia.executeAction
Execute a short GocciaScript program through the public website runtime API and return structured output.
View tool JSON
{
"name": "goccia.execute",
"kind": "act",
"impl": "imperative",
"description": "Execute a short GocciaScript program through the public website runtime API and return structured output.",
"inputSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"code": {
"type": "string",
"minLength": 1,
"description": "GocciaScript source code to execute. The server enforces the byte limit declared by maxBytes using UTF-8 byte length.",
"maxBytes": 8192
},
"mode": {
"type": "string",
"enum": [
"interpreted",
"bytecode"
],
"description": "Execution backend for releases up to 0.14, passed as --mode=<value> to binaries that advertise --mode. GocciaScript 0.15.0 removed the option and runs only bytecode, so binaries without it ignore this field. Defaults to bytecode.",
"default": "bytecode"
},
"asi": {
"type": "boolean",
"description": "Enable automatic semicolon insertion. The website API keeps this short field for version compatibility; selected binaries may map it to --asi or --compat-asi.",
"default": true
},
"compatVar": {
"type": "boolean",
"description": "Enable legacy var declarations, matching --compat-var.",
"default": false
},
"compatFunction": {
"type": "boolean",
"description": "Enable the function keyword, matching --compat-function.",
"default": false
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"description": "Optional engine release tag (e.g. \"0.7.0\", \"nightly\"). The server resolves the value against the vendored binary manifest; unknown tags fail with code UNKNOWN_VERSION. Omit to use the default version."
}
},
"required": [
"code"
]
},
"page": "/"
}goccia.testAction
Execute a GocciaScript test file through the public website test runner API and return structured test results.
View tool JSON
{
"name": "goccia.test",
"kind": "act",
"impl": "imperative",
"description": "Execute a GocciaScript test file through the public website test runner API and return structured test results.",
"inputSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"code": {
"type": "string",
"minLength": 1,
"description": "GocciaScript source code to execute. The server enforces the byte limit declared by maxBytes using UTF-8 byte length.",
"maxBytes": 8192
},
"mode": {
"type": "string",
"enum": [
"interpreted",
"bytecode"
],
"description": "Execution backend for releases up to 0.14, passed as --mode=<value> to binaries that advertise --mode. GocciaScript 0.15.0 removed the option and runs only bytecode, so binaries without it ignore this field. Defaults to bytecode.",
"default": "bytecode"
},
"asi": {
"type": "boolean",
"description": "Enable automatic semicolon insertion. The website API keeps this short field for version compatibility; selected binaries may map it to --asi or --compat-asi.",
"default": true
},
"compatVar": {
"type": "boolean",
"description": "Enable legacy var declarations, matching --compat-var.",
"default": false
},
"compatFunction": {
"type": "boolean",
"description": "Enable the function keyword, matching --compat-function.",
"default": false
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"description": "Optional engine release tag (e.g. \"0.7.0\", \"nightly\"). The server resolves the value against the vendored binary manifest; unknown tags fail with code UNKNOWN_VERSION. Omit to use the default version."
}
},
"required": [
"code"
]
},
"page": "/"
}