Import from an external source
import_from_sourceImport recipes, lab protocols, or run-of-show data from external sources into a program to build interactive timelines with tracks and timers.
Instructions
Import a recipe, protocol or run of show into a program. source: spoonacular, themealdb (recipes); protocolsio, opentrons, benchling (lab); cooklang (.cook URL); ontime (run of show). action: search (no account needed), import (query = URL or id), random. import, random and benchling need the user's Rhylthyme account. enrich: true splits an import into parallel tracks. Returns the program.
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": {
"source": "<source>",
"action": "<action>"
},
"name": "import_from_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Pasted source instead of a URL: an Opentrons .py, or an Ontime project JSON or rundown table (CSV, TSV or Markdown). | |
| query | No | Keywords (search), or the URL or id (import). | |
| token | No | Access token from the login tool. Omit when the account is connected. | |
| action | Yes | ||
| enrich | No | With action='import': split the import into parallel tracks with cross-track triggers. One model call, capped per day. | |
| source | Yes |