sentry_add_breadcrumb
Add detailed debugging context to logs by creating breadcrumbs with custom messages, categories, severity levels, and additional data for error tracking.
Instructions
Add a breadcrumb for debugging context
Input Schema
Name | Required | Description | Default |
---|---|---|---|
category | No | Category of the breadcrumb | |
data | No | Additional data for the breadcrumb | |
level | No | Severity level | info |
message | Yes | Breadcrumb message |
Input Schema (JSON Schema)
{
"properties": {
"category": {
"description": "Category of the breadcrumb",
"type": "string"
},
"data": {
"additionalProperties": true,
"description": "Additional data for the breadcrumb",
"type": "object"
},
"level": {
"default": "info",
"description": "Severity level",
"enum": [
"fatal",
"error",
"warning",
"info",
"debug"
],
"type": "string"
},
"message": {
"description": "Breadcrumb message",
"type": "string"
}
},
"required": [
"message"
],
"type": "object"
}