# Agent schema

> Tag 6: the client asks what the agent value may be; the server opens the proxy’s /agent/schema and relays exactly one channel response, the JSON Schema or an error, and the channel response finish.

Canonical: https://provider.diverge.network/2.3.0/endpoints/containers-agents-run/client/agent-schema/
Specification revision: 2.3.0

The client opens this channel to learn the schema of the agent value
the container was made with. The server opens
[`/agent/schema`](/2.3.0/proxy/agent/schema/) on the proxy and relays its
answer.

- **The request.** The tag byte `6` and nothing more.
  [Request](/2.3.0/endpoints/containers-agents-run/client/agent-schema/request/) states its form.
- **The response.** Exactly one channel response, the schema or an
  error, and the channel response finish.
  [Response](/2.3.0/endpoints/containers-agents-run/client/agent-schema/response/) states the
  sequence.
