Canonical Definition
{
"function": {
"description": "Interact with a Spline 3D scene by generating Spline embedding code for a webpage or UI component. Use this to quickly embed rich 3D Spline experiences into ImagineOS applications.",
"name": "spline_interact",
"parameters": {
"properties": {
"action": {
"default": "generate_embed",
"description": "The action to perform. Currently supported: 'generate_embed'.",
"type": "string"
},
"url": {
"description": "The Spline public URL or export URL to embed (e.g., 'https://prod.spline.design/XYZ/scene.splinecode').",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}
},
"type": "function"
}