# Configuring

{% hint style="warning" %}
**Welcome to Our New API Docs!** This is the new home for all things API (previously at [Canvas LMS REST API Documentation](https://api.instructure.com)).
{% endhint %}

## Manually Configuring LTI Advantage Tools

{% hint style="warning" %}
For versions of LTI previous to LTI 1.3, please refer to the [older documentation](/services/canvas/external-tools/lti/file.tools_xml.md)
{% endhint %}

For a successful launch to occur, LTI Advantage Tools require configuration on both Canvas and inside the tool:

* [Manually Configuring LTI Advantage Tools](#manually-configuring-lti-advantage-tools)
* [Overview of an LTI Launch](/services/canvas/external-tools/lti/file.lti_launch_overview.md)
* [Configuring Canvas in the Tool](#config-in-tool)
* [Configuring the Tool in Canvas](#config-in-canvas)
  * [Anatomy of a JSON configuration](#anatomy-of-a-json-configuration)

## Overview of an LTI Launch <a href="#launch-overview" id="launch-overview"></a>

This section has moved to the [LTI Launch Overview page](/services/canvas/external-tools/lti/file.lti_launch_overview.md).

## Configuring Canvas in the Tool <a href="#config-in-tool" id="config-in-tool"></a>

Tools will need to be aware of some Canvas-specific settings in order to accept a launch from Canvas and use the LTI Advantage Services:

* **Canvas Public JWKs**: When the tool receives the authentication response ([Step 3](/services/canvas/external-tools/lti/file.lti_launch_overview.md#step-3)), tools must [validate that the request is actually coming from Canvas](http://www.imsglobal.org/spec/security/v1p0/#authentication-response-validation). Canvas' public keys are environment-specific, but not domain-specific (the same key set can be used across all client accounts):
  * Production: `https://sso.canvaslms.com/api/lti/security/jwks`
  * Beta: `https://sso.beta.canvaslms.com/api/lti/security/jwks`
  * Test: `https://sso.test.canvaslms.com/api/lti/security/jwks`

    **Note:** The domain for this endpoint used to be `https://canvas.instructure.com`. The impetus for this change and other exact details are described in [this Canvas Community article](https://community.canvaslms.com/t5/The-Product-Blog/Minor-LTI-1-3-Changes-New-OIDC-Auth-Endpoint-Support-for/ba-p/551677). Tools wishing to implement the Platform Storage spec are required to use the new domain for this endpoint, and all other tools should update this endpoint in their configuration store as soon as possible. This change will eventually be enforced, but for now is not a breaking change - the old domain will continue to work. Any questions or issues are either addressed in the linked article or can be filed as a standard support/partner support case, referencing the OIDC Auth endpoint change.
* **Authorization Redirect URL**: The values and use of this are described in [Step 2](/services/canvas/external-tools/lti/file.lti_launch_overview.md#step-2). Since the URL is static, you will want to configure this in your tool. Tools that wish to utilize [Step 1.5](/services/canvas/external-tools/lti/file.lti_launch_overview.md#login-redirect) need to include *all* possible redirect URLs here.
* **Client ID**: The `client_id` of the Developer Key that's been configured in Canvas. Your tool will need to use this in the authentication response to Canvas ([Step 2](/services/canvas/external-tools/lti/file.lti_launch_overview.md#step-2)) and it is also used during the [Client Credentials Grant](/services/canvas/external-tools/lti/file.lti_dev_key_config.md) to access [LTI Advantage Services](/services/canvas/oauth2/file.oauth.md#accessing-lti-advantage-services).
* **Deployment ID**: The `deployment_id` can be optionally configured in the tool. A single developer key may have many deployments, so the deployment ID can be used to identify which deployment is being launched. For more, refer to the LTI 1.3 core specification, [section 4.1.2](https://www.imsglobal.org/spec/lti/v1p3/#lti_deployment_id-login-parameter). The `deployment_id` in Canvas is exposed after a tool has been [deployed using the `client_id`](https://community.canvaslms.com/t5/Admin-Guide/How-do-I-configure-an-external-app-for-an-account-using-a-client/ta-p/202).

## Configuring the Tool in Canvas <a href="#config-in-canvas" id="config-in-canvas"></a>

With LTI Advantage, Canvas moved to using Developer Keys to store tool configuration information. After a developer key is [created and enabled](https://community.canvaslms.com/t5/Admin-Guide/How-do-I-configure-an-LTI-key-for-an-account/ta-p/140), tools can be deployed to [accounts/sub-accounts](https://community.canvaslms.com/t5/Admin-Guide/How-do-I-configure-an-external-app-for-an-account-using-a-client/ta-p/202) or [courses](https://community.canvaslms.com/t5/Instructor-Guide/How-do-I-configure-an-external-app-for-a-course-using-a-client/ta-p/1071).

Developer Keys allow tools to set the required parameters to complete the [OpenID Connect Launch Flow](https://www.imsglobal.org/spec/security/v1p0#openid_connect_launch_flow), leverage [LTI Advantage Services](/services/canvas/oauth2/file.oauth.md#accessing-lti-advantage-services), and configure other important settings.

With guidance from the tool developer, developer keys settings can be manually entered by Account Admins. Tools providers can also supply Account Admins with a JSON configuration or configuration URL containing the settings the tool provider has verified to work.

In the manual case, since many of the extensions listed here require more than a few lines of configuration, there is not currently an interface for *every* extension to be manually configured. Instead, we encourage tool providers to expose a set of URL endpoints that return working configuration options for their tool services.

If providing a URL configuration endpoint is not an option, you can also provide your users with raw JSON that they can paste in for configuration.

### Anatomy of a JSON configuration

In this section, an example JSON configuration is shown followed by a table describing the relevance of each field.

**NOTE**: Certain placement-specific settings may not be described here. Some examples of JSON configuration snippets and placement-specific settings are also found in the placements sub-menu in the left-navigation of this documentation.

```json
{
  "title": "The Best Tool",
  "description": "1.3 Test Tool used for documentation purposes.",
  "oidc_initiation_url": "https://your.oidc_initiation_url",
  "oidc_initiation_urls": {
    "eu-west-1": "https://your.eu-specific1.oidc_initiation_url",
    "eu-central-1": "https://your.eu-specific2.oidc_initiation_url"
  },
  "target_link_uri": "https://your.target_link_uri",
  "scopes": [
    "https://purl.imsglobal.org/spec/lti-ags/scope/lineitem",
    "https://purl.imsglobal.org/spec/lti-ags/scope/result.readonly"
  ],
  "extensions": [
    {
      "domain": "thebesttool.com",
      "tool_id": "the-best-tool",
      "platform": "canvas.instructure.com",
      "privacy_level": "public",
      "settings": {
        "text": "Launch The Best Tool",
        "labels": {
          "en": "Launch The Best Tool",
          "en-AU": "G'day, Launch The Best Tool",
          "es": "Lanzar la mejor herramienta",
          "zh-Hans": "启动最佳工具"
        },
        "icon_url": "https://some.icon.url/tool-level.png",
        "selection_height": 800,
        "selection_width": 800,
        "placements": [
          {
            "text": "User Navigation Placement",
            "icon_url": "https://some.icon.url/my_dashboard.png",
            "placement": "user_navigation",
            "message_type": "LtiResourceLinkRequest",
            "target_link_uri": "https://your.target_link_uri/my_dashboard",
            "canvas_icon_class": "icon-lti",
            "custom_fields": {
              "foo": "$Canvas.user.id"
            }
          },
          {
            "text": "Editor Button Placement",
            "icon_url": "https://some.icon.url/editor_tool.png",
            "placement": "editor_button",
            "message_type": "LtiDeepLinkingRequest",
            "target_link_uri": "https://your.target_link_uri/content_selector",
            "selection_height": 500,
            "selection_width": 500
          },
          {
            "text": "Course Navigation Placement",
            "icon_url": "https://static.thenounproject.com/png/131630-200.png",
            "placement": "course_navigation",
            "message_type": "LtiResourceLinkRequest",
            "target_link_uri": "https://your.target_link_uri/launch?placement=course_navigation",
            "required_permissions": "manage_calendar",
            "selection_height": 500,
            "selection_width": 500
          }
        ]
      }
    }
  ],
  "public_jwk": {
    "kty": "RSA",
    "alg": "RS256",
    "e": "AQAB",
    "kid": "8f796169-0ac4-48a3-a202-fa4f3d814fcd",
    "n": "nZD7QWmIwj-3N_RZ1qJjX6CdibU87y2l02yMay4KunambalP9g0fU9yZLwLX9WYJINcXZDUf6QeZ-SSbblET-h8Q4OvfSQ7iuu0WqcvBGy8M0qoZ7I-NiChw8dyybMJHgpiP_AyxpCQnp3bQ6829kb3fopbb4cAkOilwVRBYPhRLboXma0cwcllJHPLvMp1oGa7Ad8osmmJhXhM9qdFFASg_OCQdPnYVzp8gOFeOGwlXfSFEgt5vgeU25E-ycUOREcnP7BnMUk7wpwYqlE537LWGOV5z_1Dqcqc9LmN-z4HmNV7b23QZW4_mzKIOY4IqjmnUGgLU9ycFj5YGDCts7Q",
    "use": "sig"
  },
  "custom_fields": {
    "bar": "$Canvas.user.sisid"
  }
}
```

```
<tr class="request-param">
  <td>environments</td>
  <td>
    <strong style="color: red;">Ignored</strong>
  </td>
  <td>JSON object</td>
  <td class="param-desc">
    <p>LTI 1.1 tools <a href="file.tools_xml.md">support environment-specific domains and launch urls</a>, used for launching
    from beta or test instances of Canvas. This config option is not supported for LTI 1.3. Tools instead should use the
    <code>canvas_environment</code> parameter of the OIDC Login request to redirect to environment-specific launch urls or
    instances of the tool, as specified in <a href="file.lti_dev_key_config.md#login-redirect">Step 1.5</a> above, and/or
    use the region-specific <a href="#param-oidc-initial-urls">oidc_initiation_urls</a>.
    </p>
  </td>
</tr>
```

```
<tr class="request-param">
  <td>public_jwk</td>
  <td>
      required, see notes
  </td>
  <td>JSON object</td>
  <td class="param-desc">
```

Required if public\_jwk\_url is omitted. The tools [public key](https://www.imsglobal.org/spec/lti/v1p3/impl/#tool-s-jwk-set) to be used during the client\_credentials grant for [accessing LTI Advantage services](/services/canvas/oauth2/file.oauth.md#accessing-lti-advantage-services).

| Parameter              |                     | Type                  | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ---------------------- | ------------------- | --------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| title                  | Required            | string                | The default name of the tool in the app index. This value is also displayed if no "text" field is provided within extension settings or placements.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| description            | Required            | string                | A description of the tool.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| oidc\_initiation\_url  | Required            | string                | The [login initiation url](https://www.imsglobal.org/spec/security/v1p0#step-1-third-party-initiated-login) that Canvas should redirect the User Agent to.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| oidc\_initiation\_urls |                     | JSON object           | Optional region-specific [login initiation urls](https://www.imsglobal.org/spec/security/v1p0#step-1-third-party-initiated-login) that Canvas should redirect the User Agent to. Each institution's Canvas install lives in a particular AWS region, typically one close to the institution's physical region. If this AWS region is listed as a key in this object, the URL in the value will override the default \`oidc\_initiation\_url\`. As of 2023, the regions used by Canvas are: us-east-1, us-west-2, ca-central-1, eu-west-1, eu-central-1, ap-southeast-1, ap-southeast-2.                                                                                                                                                                                                       |
| target\_link\_uri      | Required            | string                | The [target\_link\_uri](https://www.imsglobal.org/spec/security/v1p0#step-1-third-party-initiated-login) that Canvas should pass in the to the login initiation endpoint. This allows tools to determine which redirect\_uri to pass Canvas in the authorization redirect request and should be [verified during the final launch](https://www.imsglobal.org/spec/lti/v1p3/impl#verify-the-target_link_uri). This can be set at the tool-level, or within the "placements" JSON object for placement-specific target\_link\_uri's.                                                                                                                                                                                                                                                            |
| scopes                 |                     | string array          | <p>The comma separated list of scopes to be allowed when using the <a href="/pages/rTGZyAnzhW6J6zkAVh5M#accessing-lti-advantage-services">client\_credentials grant to access LTI services</a>.</p><p>Allowed values: <code>"<https://purl.imsglobal.org/spec/lti-ags/scope/lineitem>"</code>, <code>"<https://purl.imsglobal.org/spec/lti-ags/scope/result.readonly>"</code>, <code>"<https://purl.imsglobal.org/spec/lti-ags/scope/score>"</code>, <code>"<https://purl.imsglobal.org/spec/lti-nrps/scope/contextmembership.readonly>"</code>, <code>"<https://purl.imsglobal.org/spec/lti-ags/scope/lineitem.readonly>"</code>, <code>"<https://purl.imsglobal.org/spec/lti/scope/noticehandlers>"</code>, <code>"<https://canvas.instructure.com/lti/public_jwk/scope/update>"</code></p> |
| extensions             |                     | array of JSON objects | The set of Canvas extensions, including placements, that the tool should use. \[See extensions parameters below.]\(#extension-params)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| public\_jwk\_url       | required, see notes | string                | Required if public\_jwk is omitted. The tools [public key uri](https://www.imsglobal.org/spec/lti/v1p3/impl/#tool-s-jwk-set) to be used during the client\_credentials grant for [accessing LTI Advantage services](/services/canvas/oauth2/file.oauth.md#accessing-lti-advantage-services).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| custom\_fields         |                     | JSON object           | Custom fields that will be sent to the tool consumer; can be set at the tool-level or within the "placement" JSON object for placement-specific custom fields. When the tool is launched, all custom fields will be sent to the tool as strings. Read more about [variable substitutions in custom fields.](/services/canvas/external-tools/lti/file.tools_variable_substitutions.md)                                                                                                                                                                                                                                                                                                                                                                                                         |

#### Extensions

The following fields can be put under `extensions`:

| Parameter      |          | Type        | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| -------------- | -------- | ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| domain         |          | string      | The domain Canvas should use to match clicked LTI links against. This is recommended if [deep linking](/services/canvas/external-tools/lti/file.content_item.md) is used.                                                                                                                                                                                                                                                                                                                                                                                                               |
| tool\_id       |          | string      | Allows tools to set a unique identifier for the tool.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| platform       |          | string      | The LMS platform that the extensions belong to. This should always be set to "canvas.instructure.com" for cloud-hosted Canvas.                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| privacy\_level | Required | string      | <p>What level of user information to send to the external tool. Setting this to "name\_only" will include fields that contain the user's name and sourcedid in the launch claims. "email\_only" will include only the user's email. "public" includes all fields from "name\_only", "email\_only", and fields like the user's picture. "anonymous" will not include any of these fields. Note that the "sub" claim containing the user's ID is always included.</p><p>Allowed values: <code>anonymous</code>, <code>public</code> <code>name\_only</code>, <code>email\_only</code></p> |
| settings       |          | JSON object | The set of platform-specific settings to be used. [See settings parameters below.](#settings-params)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |

#### Settings

The following can be put under `extensions.settings`:

| Parameter             |   | Type                  | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| --------------------- | - | --------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| custom\_fields        |   | JSON object           | Custom fields that will be sent to the tool consumer; can be set at the tool-level or within the "placement" JSON object for placement-specific custom fields. When the tool is launched, all custom fields will be sent to the tool as strings. Read more about [variable substitutions in custom fields.](/services/canvas/external-tools/lti/file.tools_variable_substitutions.md)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| icon\_url             |   | string                | The url of the icon to show for this tool. Can be set within the "settings" object for tool-level icons, or in the "placement" object for placement-specific icons. NOTE: Not all placements display an icon.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| labels                |   | JSON object           | An object for translations of the "text", used to support internationalization (i18n) / localization (l10n). If the user's Canvas interface is set to one of the languages listed, the tool will display the translated text in place of the value in the "text" field. This JSON object is in the format `{"en": "Name", "es": "Nombre"}`, where "en" and "es" are IETF language tags. More specific locales ("en-AU") are preferred over less specific ones ("en"). A partial list of language tags can be found [here](https://en.wikipedia.org/wiki/IETF_language_tag#List_of_common_primary_language_subtags). Can be set within "settings" or individual placements.                                                                                                                                                                                                                                                                                                                                      |
| placements            |   | array of JSON objects | Settings to be used for specific tool placements. Values given in this `settings.placements` array will override the value given in the \`settings\` object for that particular placement. [See placements parameters below.](#placements-params)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| required\_permissions |   | string                | Limits tool visibility to users with certain permissions, as defined on the user's built-in Canvas user roles AND the custom roles that you may have created in Canvas. This is a comma-separated string of one or more required permissions, such as `manage_groups_add,manage_groups_delete` or `read_outcomes`. The tool will be hidden for users without all specified permissions. If set in placement-specific settings, that placement will be hidden; if set at the tool-level (e.g. under `extensions[0]`), each of the tool's placements will be hidden. For true access control, please use (instead or in addition) the [Canvas.membership.permissions<>](/services/canvas/external-tools/lti/file.tools_variable_substitutions.md#Canvas-membership-permissions) custom variable expansion, and check its value in your tool. To learn more about roles and permissions, and to see the permissions available for this parameter, visit the [Roles API docs](/services/canvas/resources/roles.md). |
| selection\_height     |   | string                | The display height of the iframe. This may be ignored or overridden for some LTI placements due to other UI requirements set by Canvas. Tools are advised to experiment with this setting to see what makes the most sense for their application.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| selection\_width      |   | string                | The display width of the iframe. This may be ignored or overridden for some LTI placements due to other UI requirements set by Canvas. Tools are advised to experiment with this setting to see what makes the most sense for their application.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| text                  |   | string                | The default text to show for this tool. Can be set within "settings" for the tool-level display text, or within "placements" object for placement-specific display text.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |

#### Placements

The following can be put under `extensions.settings.placements`. (Note: `extensions.settings.placements` is an array of JSON objects. This table shows the values that can be in those JSON objects.) Values given for a placement in this array will override the value given in `extensions.settings`.

| Parameter             |          | Type        | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| --------------------- | -------- | ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| placement             | Required | string      | Name of the placement that this settings object should apply to. [See full list of placements here.](/services/canvas/external-tools/lti/placements/file.placements_overview.md)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| custom\_fields        |          | JSON object | Custom fields that will be sent to the tool consumer; can be set at the tool-level or within the "placement" JSON object for placement-specific custom fields. When the tool is launched, all custom fields will be sent to the tool as strings. Read more about [variable substitutions in custom fields.](/services/canvas/external-tools/lti/file.tools_variable_substitutions.md)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| enabled               |          | boolean     | Optional, defaults to \`true\`. Determines if the placement is enabled.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| icon\_url             |          | string      | The url of the icon to show for this tool. Can be set within the "settings" object for tool-level icons, or in the "placement" object for placement-specific icons. NOTE: Not all placements display an icon.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| labels                |          | JSON object | An object for translations of the "text", used to support internationalization (i18n) / localization (l10n). If the user's Canvas interface is set to one of the languages listed, the tool will display the translated text in place of the value in the "text" field. This JSON object is in the format `{"en": "Name", "es": "Nombre"}`, where "en" and "es" are IETF language tags. More specific locales ("en-AU") are preferred over less specific ones ("en"). A partial list of language tags can be found [here](https://en.wikipedia.org/wiki/IETF_language_tag#List_of_common_primary_language_subtags). Can be set within "settings" or individual placements.                                                                                                                                                                                                                                                                                                                                      |
| message\_type         |          | string      | <p>The IMS message type to be sent in the launch. This is set at the placement level. Not all placements support both message\_types.</p><p>Allowed values: <code>"LtiResourceLinkRequest"</code>, <code>"LtiDeepLinkingRequest"</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| required\_permissions |          | string      | Limits tool visibility to users with certain permissions, as defined on the user's built-in Canvas user roles AND the custom roles that you may have created in Canvas. This is a comma-separated string of one or more required permissions, such as `manage_groups_add,manage_groups_delete` or `read_outcomes`. The tool will be hidden for users without all specified permissions. If set in placement-specific settings, that placement will be hidden; if set at the tool-level (e.g. under `extensions[0]`), each of the tool's placements will be hidden. For true access control, please use (instead or in addition) the [Canvas.membership.permissions<>](/services/canvas/external-tools/lti/file.tools_variable_substitutions.md#Canvas-membership-permissions) custom variable expansion, and check its value in your tool. To learn more about roles and permissions, and to see the permissions available for this parameter, visit the [Roles API docs](/services/canvas/resources/roles.md). |
| selection\_height     |          | string      | The display height of the iframe. This may be ignored or overridden for some LTI placements due to other UI requirements set by Canvas. Tools are advised to experiment with this setting to see what makes the most sense for their application.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| selection\_width      |          | string      | The display width of the iframe. This may be ignored or overridden for some LTI placements due to other UI requirements set by Canvas. Tools are advised to experiment with this setting to see what makes the most sense for their application.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| text                  |          | string      | The default text to show for this tool. Can be set within "settings" for the tool-level display text, or within "placements" object for placement-specific display text.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |

#### Placement-specific Settings

The following settings only apply to certain placements.

| Parameter            | Placement                                                                     | Type    | Description                                                                                                                                                                                                                                                                                                                                   |
| -------------------- | ----------------------------------------------------------------------------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| accept\_media\_types | file\_menu                                                                    | string  | A comma-separated list of MIME types, e.g.: `"image/jpeg,image/png"`. The LTI tool will be shown in the file\_menu placement if the file's MIME type matches one of the MIME types in the list. [(Screenshot of the file\_menu placement.)](/services/canvas/external-tools/lti/placements/file.placements_overview.md#file-menu)             |
| default              | account\_navigation, course\_navigation                                       | string  | <p>Whether the tool should be shown in the sidebar.</p><p>Allowed values: <code>enabled</code>, <code>disabled</code></p>                                                                                                                                                                                                                     |
| icon\_svg\_path\_64  | global\_navigation                                                            | string  | An SVG path to be used for the tool's icon in the global\_navigation placement. Note: this should be the SVG path itself, not a URL to an SVG image. The value of this parameter will be used as the `d` attribute on the SVG's `path` element. [See MDN for more information.](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/d) |
| use\_tray            | editor\_button                                                                | boolean | Whether the tool should open in the tray (a.k.a. sidebar) rather than a modal window. `True` means to use the tray, `false` means to use a modal window. The tray allows the user to still interact with the page while the tray is open; the modal window blocks the rest of the page while the modal window is open.                        |
| windowTarget         | account\_navigation, course\_navigation, global\_navigation, user\_navigation | string  | <p>Whether the tool should be launched in a new tab.</p><p>Allowed values: <code>\_blank</code></p>                                                                                                                                                                                                                                           |

***

This documentation is generated directly from the Canvas LMS source code, available [on Github](https://github.com/instructure/canvas-lms).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developerdocs.instructure.com/services/canvas/external-tools/lti/file.lti_dev_key_config.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
