---
title: "Set Caller Preference"
method: POST
path: "/context/preference"
---

# Set Caller Preference

`POST /context/preference`

## Request

- Base URL: `https://mcp.physea.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://mcp.physea.ai/context/preference`
- Auth: none declared

Persist a PREFERENCE on the caller's profile — the HTTP equivalent of the MCP
set_preference tool (the four-ops 'fill' verb that previously had no live endpoint).
Wires straight to caller_context.set_preference; IDOR-safe (identity resolved server-side
via _pref_caller). Returns {ok, caller, preferences}.

## Request body

- PreferenceRequest
  - `key` string, required
  - `value` string
  - `caller` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/physea/apis/liminality-router-service.md) · [All operations](https://skmtc.dev/physea/apis/liminality-router-service/llms.txt) · [OpenAPI document](https://skmtc.dev/physea/apis/liminality-router-service/revisions/5f60ddd97544?raw)
