Connection
Base URL, credentials and a reachable server.
Add an approval step to an internal request form. Check the actor’s role and reject a second approval without repeating the operation.
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.
if (request.status !== 'pending') return conflict();
if (!canApprove(actor, request)) return forbidden();
return approveOnce(request.id, actor.id);