# `Phantom.Request`
[🔗](https://github.com/dbernheisel/phantom_mcp/blob/main/lib/phantom/request.ex#L1)

Standard requests and responses for the MCP protocol

# `t`

```elixir
@opaque t()
```

# `closed`

Invalid request due to no streaming connection being available

# `completion_response`

# `duplicate_request`

Duplicate JSON-RPC request id for a session

# `elicitation_complete`

Elicitation complete notification

# `empty`

An empty response

# `error`

Response error

# `internal_error`

Server encountered an issue

# `invalid`

Invalid request

# `invalid_params`

# `invalid_params`

Invalid request due to bad parameters

# `not_found`

The method is not implemented or found

# `notify`

A generic notifiation

# `notify_progress`

Progress notifiation

# `parse_error`

Invalid request due to parsing error

# `ping`

Ping request

# `prompts_updated`

Prompts List updated notification

# `resource_not_found`

The resource is not found

# `resource_updated`

Resource updated notification

# `resources_updated`

Resources List updated notification

# `tools_updated`

Tools List updated notification

# `url_elicitation_required`

Error indicating URL mode elicitation is required before retrying

---

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