---
# AUTO-GENERATED API DOCUMENTATION - DO NOT EDIT
title: mirascope.core.mistral.call_params
description: API documentation for mirascope.core.mistral.call_params
---

# mirascope.core.mistral.call_params

<Info title="Usage">

[Calls](/docs/v1/learn/calls#provider-specific-parameters)

</Info>

## <ApiType type="Class" path="core/mistral/call_params" symbolName="MistralCallParams" /> MistralCallParams

The parameters to use when calling the Mistral API.

[Mistral API Reference](https://docs.mistral.ai/api/)

**Bases:** 
<TypeLink type={{"type_str": "BaseCallParams", "description": null, "kind": "simple", "doc_url": "/docs/v1/api/core/base/call_params#basecallparams"}} />

<AttributesTable
  attributes={[
  {
    "name": "endpoint",
    "type_info": {
      "type_str": "NotRequired[str | None]",
      "description": null,
      "kind": "generic",
      "base_type": {
        "type_str": "NotRequired",
        "description": null,
        "kind": "simple",
        "doc_url": "https://docs.python.org/3/library/typing.html#typing.NotRequired"
      },
      "parameters": [
        {
          "type_str": "str | None",
          "description": null,
          "kind": "union",
          "base_type": {
            "type_str": "Union",
            "description": null,
            "kind": "simple",
            "doc_url": "https://docs.python.org/3/library/typing.html#typing.Union"
          },
          "parameters": [
            {
              "type_str": "str",
              "description": null,
              "kind": "simple",
              "doc_url": "https://docs.python.org/3/library/stdtypes.html#str"
            },
            {
              "type_str": "None",
              "description": null,
              "kind": "simple",
              "doc_url": "https://docs.python.org/3/library/constants.html#None"
            }
          ]
        }
      ]
    }
  },
  {
    "name": "max_tokens",
    "type_info": {
      "type_str": "NotRequired[int | None]",
      "description": null,
      "kind": "generic",
      "base_type": {
        "type_str": "NotRequired",
        "description": null,
        "kind": "simple",
        "doc_url": "https://docs.python.org/3/library/typing.html#typing.NotRequired"
      },
      "parameters": [
        {
          "type_str": "int | None",
          "description": null,
          "kind": "union",
          "base_type": {
            "type_str": "Union",
            "description": null,
            "kind": "simple",
            "doc_url": "https://docs.python.org/3/library/typing.html#typing.Union"
          },
          "parameters": [
            {
              "type_str": "int",
              "description": null,
              "kind": "simple",
              "doc_url": "https://docs.python.org/3/library/functions.html#int"
            },
            {
              "type_str": "None",
              "description": null,
              "kind": "simple",
              "doc_url": "https://docs.python.org/3/library/constants.html#None"
            }
          ]
        }
      ]
    }
  },
  {
    "name": "random_seed",
    "type_info": {
      "type_str": "NotRequired[int | None]",
      "description": null,
      "kind": "generic",
      "base_type": {
        "type_str": "NotRequired",
        "description": null,
        "kind": "simple",
        "doc_url": "https://docs.python.org/3/library/typing.html#typing.NotRequired"
      },
      "parameters": [
        {
          "type_str": "int | None",
          "description": null,
          "kind": "union",
          "base_type": {
            "type_str": "Union",
            "description": null,
            "kind": "simple",
            "doc_url": "https://docs.python.org/3/library/typing.html#typing.Union"
          },
          "parameters": [
            {
              "type_str": "int",
              "description": null,
              "kind": "simple",
              "doc_url": "https://docs.python.org/3/library/functions.html#int"
            },
            {
              "type_str": "None",
              "description": null,
              "kind": "simple",
              "doc_url": "https://docs.python.org/3/library/constants.html#None"
            }
          ]
        }
      ]
    }
  },
  {
    "name": "response_format",
    "type_info": {
      "type_str": "NotRequired[ResponseFormat | None]",
      "description": null,
      "kind": "generic",
      "base_type": {
        "type_str": "NotRequired",
        "description": null,
        "kind": "simple",
        "doc_url": "https://docs.python.org/3/library/typing.html#typing.NotRequired"
      },
      "parameters": [
        {
          "type_str": "ResponseFormat | None",
          "description": null,
          "kind": "union",
          "base_type": {
            "type_str": "Union",
            "description": null,
            "kind": "simple",
            "doc_url": "https://docs.python.org/3/library/typing.html#typing.Union"
          },
          "parameters": [
            {
              "type_str": "ResponseFormat",
              "description": null,
              "kind": "simple",
              "doc_identifier": "ResponseFormat"
            },
            {
              "type_str": "None",
              "description": null,
              "kind": "simple",
              "doc_url": "https://docs.python.org/3/library/constants.html#None"
            }
          ]
        }
      ]
    }
  },
  {
    "name": "safe_mode",
    "type_info": {
      "type_str": "NotRequired[bool | None]",
      "description": null,
      "kind": "generic",
      "base_type": {
        "type_str": "NotRequired",
        "description": null,
        "kind": "simple",
        "doc_url": "https://docs.python.org/3/library/typing.html#typing.NotRequired"
      },
      "parameters": [
        {
          "type_str": "bool | None",
          "description": null,
          "kind": "union",
          "base_type": {
            "type_str": "Union",
            "description": null,
            "kind": "simple",
            "doc_url": "https://docs.python.org/3/library/typing.html#typing.Union"
          },
          "parameters": [
            {
              "type_str": "bool",
              "description": null,
              "kind": "simple",
              "doc_url": "https://docs.python.org/3/library/functions.html#bool"
            },
            {
              "type_str": "None",
              "description": null,
              "kind": "simple",
              "doc_url": "https://docs.python.org/3/library/constants.html#None"
            }
          ]
        }
      ]
    }
  },
  {
    "name": "safe_prompt",
    "type_info": {
      "type_str": "NotRequired[bool | None]",
      "description": null,
      "kind": "generic",
      "base_type": {
        "type_str": "NotRequired",
        "description": null,
        "kind": "simple",
        "doc_url": "https://docs.python.org/3/library/typing.html#typing.NotRequired"
      },
      "parameters": [
        {
          "type_str": "bool | None",
          "description": null,
          "kind": "union",
          "base_type": {
            "type_str": "Union",
            "description": null,
            "kind": "simple",
            "doc_url": "https://docs.python.org/3/library/typing.html#typing.Union"
          },
          "parameters": [
            {
              "type_str": "bool",
              "description": null,
              "kind": "simple",
              "doc_url": "https://docs.python.org/3/library/functions.html#bool"
            },
            {
              "type_str": "None",
              "description": null,
              "kind": "simple",
              "doc_url": "https://docs.python.org/3/library/constants.html#None"
            }
          ]
        }
      ]
    }
  },
  {
    "name": "temperature",
    "type_info": {
      "type_str": "NotRequired[float | None]",
      "description": null,
      "kind": "generic",
      "base_type": {
        "type_str": "NotRequired",
        "description": null,
        "kind": "simple",
        "doc_url": "https://docs.python.org/3/library/typing.html#typing.NotRequired"
      },
      "parameters": [
        {
          "type_str": "float | None",
          "description": null,
          "kind": "union",
          "base_type": {
            "type_str": "Union",
            "description": null,
            "kind": "simple",
            "doc_url": "https://docs.python.org/3/library/typing.html#typing.Union"
          },
          "parameters": [
            {
              "type_str": "float",
              "description": null,
              "kind": "simple",
              "doc_url": "https://docs.python.org/3/library/functions.html#float"
            },
            {
              "type_str": "None",
              "description": null,
              "kind": "simple",
              "doc_url": "https://docs.python.org/3/library/constants.html#None"
            }
          ]
        }
      ]
    }
  },
  {
    "name": "tool_choice",
    "type_info": {
      "type_str": "NotRequired[ToolChoice | ToolChoiceEnum | None]",
      "description": null,
      "kind": "generic",
      "base_type": {
        "type_str": "NotRequired",
        "description": null,
        "kind": "simple",
        "doc_url": "https://docs.python.org/3/library/typing.html#typing.NotRequired"
      },
      "parameters": [
        {
          "type_str": "ToolChoice | ToolChoiceEnum | None",
          "description": null,
          "kind": "union",
          "base_type": {
            "type_str": "Union",
            "description": null,
            "kind": "simple",
            "doc_url": "https://docs.python.org/3/library/typing.html#typing.Union"
          },
          "parameters": [
            {
              "type_str": "ToolChoice",
              "description": null,
              "kind": "simple",
              "doc_identifier": "ToolChoice"
            },
            {
              "type_str": "ToolChoiceEnum",
              "description": null,
              "kind": "simple",
              "doc_identifier": "ToolChoiceEnum"
            },
            {
              "type_str": "None",
              "description": null,
              "kind": "simple",
              "doc_url": "https://docs.python.org/3/library/constants.html#None"
            }
          ]
        }
      ]
    }
  },
  {
    "name": "top_p",
    "type_info": {
      "type_str": "NotRequired[float | None]",
      "description": null,
      "kind": "generic",
      "base_type": {
        "type_str": "NotRequired",
        "description": null,
        "kind": "simple",
        "doc_url": "https://docs.python.org/3/library/typing.html#typing.NotRequired"
      },
      "parameters": [
        {
          "type_str": "float | None",
          "description": null,
          "kind": "union",
          "base_type": {
            "type_str": "Union",
            "description": null,
            "kind": "simple",
            "doc_url": "https://docs.python.org/3/library/typing.html#typing.Union"
          },
          "parameters": [
            {
              "type_str": "float",
              "description": null,
              "kind": "simple",
              "doc_url": "https://docs.python.org/3/library/functions.html#float"
            },
            {
              "type_str": "None",
              "description": null,
              "kind": "simple",
              "doc_url": "https://docs.python.org/3/library/constants.html#None"
            }
          ]
        }
      ]
    }
  }
]}
/>


