# `ACPex.Schema.Session.CancelNotification`
[🔗](https://github.com/lostbean/acpex/blob/v0.1.1/lib/acpex/schema/session/cancel_notification.ex#L1)

Notification to cancel prompt processing.

Sent by the client to request cancellation of an ongoing prompt. The agent
should stop processing and send a PromptResponse with stop_reason "cancelled".

## Required Fields

  * `session_id` - The session identifier (string)

## Optional Fields

  * `meta` - Additional metadata (map)

## Example

    %ACPex.Schema.Session.CancelNotification{
      session_id: "session-123"
    }

## JSON Representation

    {
      "sessionId": "session-123"
    }

# `t`

```elixir
@type t() :: %ACPex.Schema.Session.CancelNotification{
  meta: map() | nil,
  session_id: String.t()
}
```

# `changeset`

```elixir
@spec changeset(t(), map()) :: Ecto.Changeset.t()
```

Creates a changeset for validation.

## Required Fields

  * `session_id` - Must be present

---

*Consult [api-reference.md](api-reference.md) for complete listing*
