{
  "name": "DeleteList",
  "fully_qualified_name": "HubspotCrmApi.DeleteList@0.1.0",
  "description": "Delete a specified CRM list by its ID.\n\nUse this tool to delete a CRM list using its ID. Deleted lists can be restored within 90 days, after which they'll be permanently removed.",
  "toolkit": {
    "name": "ArcadeHubspotCrmApi",
    "description": null,
    "version": "0.1.0"
  },
  "input": {
    "parameters": [
      {
        "name": "list_id_to_delete",
        "required": true,
        "description": "The ILS ID of the CRM list to delete. Ensure the ID is correct to avoid unintentional deletion.",
        "value_schema": {
          "val_type": "string",
          "inner_val_type": null,
          "enum": null,
          "properties": null,
          "inner_properties": null,
          "description": "The **ILS ID** of the list to delete."
        },
        "inferrable": true,
        "http_endpoint_parameter_name": "listId"
      }
    ]
  },
  "output": {
    "description": "Response from the API endpoint 'delete-/crm/v3/lists/{listId}_remove'.",
    "available_modes": [
      "value",
      "error",
      "null"
    ],
    "value_schema": {
      "val_type": "json",
      "inner_val_type": null,
      "enum": null,
      "properties": null,
      "inner_properties": null,
      "description": null
    }
  },
  "requirements": {
    "authorization": {
      "provider_id": "arcade-hubspot",
      "provider_type": "oauth2",
      "id": null,
      "oauth2": {
        "scopes": [
          "crm.lists.write",
          "cms.membership.access_groups.write",
          "crm.lists.read"
        ]
      }
    },
    "secrets": null,
    "metadata": null
  },
  "deprecation_message": null,
  "metadata": {
    "object_type": "api_wrapper_tool",
    "version": "1.1.0",
    "description": "Tools that enable LLMs to interact directly with the hubspot_crm API."
  },
  "http_endpoint": {
    "metadata": {
      "object_type": "http_endpoint",
      "version": "1.2.0",
      "description": ""
    },
    "url": "https://api.hubapi.com/crm/v3/lists/{listId}",
    "http_method": "DELETE",
    "headers": {},
    "parameters": [
      {
        "name": "listId",
        "tool_parameter_name": "list_id_to_delete",
        "description": "The **ILS ID** of the list to delete.",
        "value_schema": {
          "val_type": "string",
          "inner_val_type": null,
          "enum": null,
          "properties": null,
          "inner_properties": null,
          "description": "The **ILS ID** of the list to delete."
        },
        "accepted_as": "path",
        "required": true,
        "deprecated": false,
        "default": null,
        "documentation_urls": []
      }
    ],
    "documentation_urls": [],
    "secrets": [
      {
        "arcade_key": "auth_token",
        "parameter_name": "Authorization",
        "accepted_as": "header",
        "formatted_value": "Bearer {authorization}",
        "description": "The OAuth token to use for authentication.",
        "is_auth_token": true
      }
    ],
    "request_body_spec": null,
    "use_request_body_schema_mode": false,
    "validate_request_body_schema": false
  }
}
