run_script
Execute JavaScript scripts directly within LibreSprite for pixel art creation and editing, ensuring compatibility by referencing provided documentation and examples.
Instructions
Run a JavaScript script inside Libresprite.
IMPORTANT: Make sure you are well versed with the documentation and examples provided in the resources `docs:reference` and `docs:examples`.
Args:
script: The script to execute
Returns:
Console output
Input Schema
Name | Required | Description | Default |
---|---|---|---|
script | Yes |
Input Schema (JSON Schema)
{
"properties": {
"script": {
"title": "Script",
"type": "string"
}
},
"required": [
"script"
],
"title": "run_scriptArguments",
"type": "object"
}