Save Scene As
scene.save_asSave the current Maya scene to a new file path. Validates the path and saves as Maya ASCII or Binary based on the file extension.
Instructions
Save the scene to a new file path. Validates the path and saves as Maya ASCII or Binary based on extension.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_path": "<file_path>"
},
"name": "scene.save_as"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute or relative path to save the scene to (.ma or .mb) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | Yes | ||
| success | Yes | ||
| file_path | Yes |