Tool file
prompt tools
One model call.
One model call. The result is {text}, or validated JSON when output_schema is set.
These fields go alongside the common fields, with kind: prompt.
Fields
The message to send, as a template over {{input.*}}.
systemstring
A fixed system prompt.
The model role that runs the call, standard or custom.
Take output_schema from the call's input.
Let the call's model input pick the role.
Take system from the call's input.
version: 3
name: summarize
description: Summarizes text into a gist and three keywords.
kind: prompt
prompt: 'Summarize into one sentence and three keywords: {{input.text}}'
model: chat
input_schema:
type: object
required:
- text
properties:
text:
type: string
description: The text to summarize
output_schema:
type: object
required:
- gist
- keywords
properties:
gist:
type: string
keywords:
type: array
items:
type: string