add_layer
Adds a new layer (right-y, top-x, inset, or independent) to a graph in Origin Pro.
Instructions
Add a new layer (panel/axis) to a graph.
Args: graph_name: Graph name layer_type: right-y, top-x, inset, or independent
Returns: Success message naming the new layer index
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": {
"graph_name": "<graph_name>"
},
"name": "add_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph_name | Yes | ||
| layer_type | No | right-y |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |