origin_save_graph_template
Save a completed graph as a reusable template with searchable metadata, enabling quick retrieval and reuse in future plotting tasks.
Instructions
Save a finished graph as a reusable user template with searchable metadata.
The template is stored in the user template library (default
~/.origin-mcp/templates). Reuse it later by passing template=<name>
to any plotting tool. Provide plot_types, roles, and n_columns
to make the template easier to find via origin_search_templates.
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": {
"name": "<name>"
},
"name": "origin_save_graph_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| description | No | ||
| tags | No | ||
| plot_types | No | ||
| roles | No | ||
| n_columns | No | ||
| graph_name | No | ||
| overwrite | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||