Render prompt workflow
sm_get_promptRender one Space Monkey prompt workflow with concrete argument values, returning the complete instruction text ready to follow, plus the effective arguments that were bound (provided values plus defaults for omitted optionals). Prompt names and their arguments come from sm_list_prompts. If the rendered text still contains {{tokens}} such as {{projectId}} or {{company}}, a required argument was not provided; call again with it filled. The rendered text references sm_ tools by name; call them as instructed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Prompt name from sm_list_prompts, e.g. sm_brief_before_call. | |
| arguments | No | Argument values for the prompt, keyed by argument name (e.g. {"company": "Conversion Sciences", "email": "brian@example.com"}). Omit optional arguments to use their defaults. Multi-line values are supported. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | A machine-readable identifier for the error type. For the full code taxonomy, see the sm_get_schema tool or the Enterprise API OpenAPI ErrorResponse component. | |
| name | No | Prompt name. | |
| text | No | Rendered prompt body with values substituted. | |
| error | No | A human-readable error message detailing what went wrong. | |
| arguments | No | Argument values used for rendering. | |
| description | No | Prompt description. |