# Get error type

Tool: `veryfront__get_error_type`

Get an API error type.

## Arguments

| Name              | Type   | Required | Description                                                                                     |
| ----------------- | ------ | -------- | ----------------------------------------------------------------------------------------------- |
| `error_type_slug` | string | Yes      | Error slug identifier (e.g. "insufficient-credits"). Returns solution steps and related errors. |

## Responses

| Status | Description                                           |
| ------ | ----------------------------------------------------- |
| 200    | The tool ran; its output is result.structuredContent. |

## Call it

```bash
curl -X POST -N "https://api.veryfront.com/mcp" \
  -H "Authorization: Bearer $VERYFRONT_API_KEY" \
  -H "Accept: application/json, text/event-stream" \
  -H "Content-Type: application/json" \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__get_error_type",
    "arguments": {
      "error_type_slug": "string"
    }
  }
}'
```

## Example response

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\"slug\":\"string\",\"title\":\"string\",\"status\":0,\"category\":\"string\",\"suggestion\":\"string\",\"solution\":{\"message\":\"string\",\"steps\":[\"string\"],\"example\":\"string\",\"tips\":[\"string\"],\"related_errors\":[\"string\"]},\"docs\":\"string\"}"
      }
    ],
    "structuredContent": {
      "slug": "string",
      "title": "string",
      "status": 0,
      "category": "string",
      "suggestion": "string",
      "solution": {
        "message": "string",
        "steps": [
          "string"
        ],
        "example": "string",
        "tips": [
          "string"
        ],
        "related_errors": [
          "string"
        ]
      },
      "docs": "string"
    }
  }
}
```
