Get tool

GET /v1/Tools/{id}

Get tool

Path parameters

  • id string Required

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • account_sid string

      The SID of the Account that created the Tool resource.

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^AC[0-9a-fA-F]{32}$.

    • description string Required

      The description of the tool.

    • enabled boolean Required

      True if the tool is enabled.

    • id string Required

      The tool ID.

      Format should match the following pattern: ^aia_tool_.+$.

    • meta object Required

      The metadata related to method, url, input_schema to used with the Tool.

    • name string Required

      The name of the tool.

    • requires_auth boolean Required

      The authentication requirement for the tool.

    • type string Required

      The type of the tool. ('WEBHOOK')

    • url string

      The url of the tool resource.

    • date_created string(date-time) Required

      The date and time in GMT when the Tool was created specified in ISO 8601 format.

    • date_updated string(date-time) Required

      The date and time in GMT when the Tool was last updated specified in ISO 8601 format.

    • policies array[object]

      The Policies associated with the tool.

      Hide policies attributes Show policies attributes object
      • id string

        The Policy ID.

        Format should match the following pattern: ^aia_plcy_.+$.

      • name string

        The name of the policy.

      • description string

        The description of the policy.

      • account_sid string

        The SID of the Account that created the Policy resource.

        Minimum length is 34, maximum length is 34. Format should match the following pattern: ^AC[0-9a-fA-F]{32}$.

      • user_sid string

        The SID of the User that created the Policy resource.

        Minimum length is 34, maximum length is 34. Format should match the following pattern: ^US[0-9a-fA-F]{32}$.

      • type string Required

        The type of the policy.

      • policy_details object Required

        The details of the policy based on the type.

      • date_created string(date-time)

        The date and time in GMT when the Policy was created specified in ISO 8601 format.

      • date_updated string(date-time)

        The date and time in GMT when the Policy was last updated specified in ISO 8601 format.

GET /v1/Tools/{id}
curl \
 --request GET 'https://assistants.twilio.com/v1/Tools/{id}' \
 --user "username:password"
Response examples (200)
{
  "account_sid": "string",
  "description": "string",
  "enabled": true,
  "id": "string",
  "meta": {},
  "name": "string",
  "requires_auth": true,
  "type": "string",
  "url": "string",
  "date_created": "2025-05-04T09:42:00Z",
  "date_updated": "2025-05-04T09:42:00Z",
  "policies": [
    {
      "id": "string",
      "name": "string",
      "description": "string",
      "account_sid": "string",
      "user_sid": "string",
      "type": "string",
      "policy_details": {},
      "date_created": "2025-05-04T09:42:00Z",
      "date_updated": "2025-05-04T09:42:00Z"
    }
  ]
}