> ## Documentation Index
> Fetch the complete documentation index at: https://graph.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# 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](/tools/reference/tool-file#common-fields), with `kind: prompt`.

## Fields

**prompt** `string` *required*

The message to send, as a template over `{{input.*}}`.

**system** `string`

A fixed system prompt.

**model** `string` (default: chat)

The model role that runs the call, standard or custom.

**caller\_output\_schema** `boolean` (default: false)

Take `output_schema` from the call's input.

**caller\_model** `boolean` (default: false)

Let the call's `model` input pick the role.

**caller\_system** `boolean` (default: false)

Take `system` from the call's input.

```yaml Example theme={null}
version: 2
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
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.