Connection
Base URL, credentials and a reachable server.
Check whether a user may edit a particular record, not just whether they are signed in. Test another owner’s record and ensure forbidden fields cannot be changed through the same request.
Base URL, credentials and a reachable server.
A model available through the configured endpoint.
Context limits and tool support are determined by the model and server.
const actor = await authenticate(request);
if (!canEdit(actor, document)) return forbidden();
return updateAllowedFields(document, input);