create_experiment_from_template
Create a new eLabFTW experiment from an existing template, choosing whether to copy its steps and body. Use template IDs from list_experiment_templates.
Instructions
Create a new eLabFTW experiment from an experiment template. WRITE OPERATION — requires the create write scope. Use list_experiment_templates to find template IDs. include_steps/include_body decide whether the template's steps and body are copied. Returns the new id.
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": {
"template_id": "<template_id>"
},
"name": "create_experiment_from_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| title | No | ||
| trace_id | No | ||
| status_id | No | ||
| category_id | No | ||
| template_id | Yes | ||
| include_body | No | ||
| include_steps | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |