Connection
Base URL, credentials and a reachable server.
Validate a nested configuration object and report the exact failing property path. Test missing values, unknown fields and a valid configuration without silently dropping mistakes.
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 result = schema.safeParse(configuration);
if (!result.success) {
return explainIssues(result.error.issues);
}
return result.data;