Import pasted text
import_textTurn a block of pasted text — a recipe, a lab protocol, a run-of-show, a training plan — into a validated multi-track Rhylthyme program. Use when the user pastes the steps themselves and no structural importer fits (no URL, no supported service, a photo they transcribed, a PDF they copied out of). Runs four model turns server-side: read-back, schema check, step extraction with the exact source span each step came from, then tracks and triggers. Needs the user's Rhylthyme token from login; costs a model call per turn and is capped per day. Returns the program plus a step→span table, so you can show the user which words each step came from and which steps were inferred.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The source text itself: the recipe, protocol, run sheet or plan, as the user wrote or pasted it. Paste all of it — turn 1 reads it back and a long source is extracted in chunks. | |
| hints | No | Equipment and people limits in the user's own words, e.g. 'one oven, two burners, one cook'. Used as the scenario prompt's environment and as the resource constraints to expect. | |
| token | No | User's Rhylthyme access token from the **login** tool. Required: this import runs model calls on the server. | |
| deadline | No | When everything must be finished, if the user said: "18:00", "dinner at six", an ISO datetime. | |
| environmentType | Yes | Where the work happens: kitchen, lab, events, gym, or generic. Fills the scenario prompt's environment slot and becomes the program's environmentType. |