Klarefi
v0.4.0AI intake agent that prepares complete, cited files.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
create_connector_from_openapi Import connector from OpenAPI
Import a public OpenAPI JSON URL as a Klarefi verification connector. JSON specs only (convert YAML first). The result reports whether the configuration is active or staged for operator approval. Set connection_status to not_connected to import before credentials exist.
| Parameter | Type | Description |
|---|---|---|
connector_key * | string | |
openapi_url * | string | |
base_url | string | |
connection_status | string | |
label | string |
create_connector Create or update connector
Create or update a Klarefi verification connector manifest. The result reports whether the configuration is active or staged for operator approval. Set connection_status to not_connected and omit credentials to add now; upsert with connected and credentials later. Checks remain open until connected.
delete_connector Delete connector
Delete a configured Klarefi connector by key or stage its deletion for operator approval.
| Parameter | Type | Description |
|---|---|---|
connector_key * | string |
create_intake_session Create intake session
Create a hosted Klarefi intake session. Pass case_type_id, or workflow_id (internal preview, published workflows only).
| Parameter | Type | Description |
|---|---|---|
case_type_id | string | |
external_applicant_id | string | |
external_case_id | string | |
external_customer_id | string | |
locale | string | |
prefill | object | Prefill payload passed through to the session; schema owned by the prefill feature |
return_url | string | Approved return URL for the closing receipt link (internal preview). |
ttl_hours | number | |
workflow_id | string | Published workflow ID (internal preview; omit case_type_id). |
get_case Get case
Retrieve a Klarefi case and resolved facts.
| Parameter | Type | Description |
|---|---|---|
case_id * | string |
list_operator_queue List operator queue
List the bounded Klarefi operator queue for this API key's environment. Requires cases:review.
| Parameter | Type | Description |
|---|---|---|
limit | number |
get_case_workspace Get case workspace
Inspect a case workspace with facts, cited evidence, blockers, ownership, and timeline. This does not mutate the case.
| Parameter | Type | Description |
|---|---|---|
case_id * | string |
get_case_package Get case package
Get the cited case_package.v1 artifact and a signed read-only case-file URL. The package carries the facts, the calculated facts, and the offer or decline on the case with its files.
| Parameter | Type | Description |
|---|---|---|
case_id * | string |
submit_case_review Submit case review command
Submit an auditable intake-review command. Allowed commands review or correct facts, update evidence, escalate, or record a case-wide checks go. For checks_go supply payload.decision as go, not_now, or withdraw and an optional rationale; poll get_review_command, because a decision sent before the case has started stays accepted until it applies. This tool cannot complete or reopen a case.
| Parameter | Type | Description |
|---|---|---|
case_id * | string | |
command_type * | string | |
payload * | object | |
idempotency_key | string | |
rationale | string | |
trace_id | string |
get_review_command Get review command
Poll the status and result of an intake-review command.
| Parameter | Type | Description |
|---|---|---|
case_id * | string | |
command_id * | string |
list_workflows List workflows
List versioned Form · Fact · Verify workflow declarations.
save_workflow_draft Save workflow draft
Validate and save a workflow declaration as a draft. This tool cannot publish or activate the workflow. Each input_bindings entry on a check is a fact ID, { "literal": value } for a fixed plain-text value (never a secret), or { "case": "case_id" | "case_reference" | "external_case_id" }. A parameter left out uses the connector's default.
| Parameter | Type | Description |
|---|---|---|
workflow * | object |
open_intake Open intake
Read an applicant intake from a signed URL or from session_id plus access_token. No Klarefi API key is required. On the hosted MCP endpoint, include the same intake credential in each later intake tool call.
| Parameter | Type | Description |
|---|---|---|
access_token | string | Applicant access token. Use it with session_id instead of url. |
api_base_url | string | Optional Klarefi deployment URL for local stdio use. The hosted MCP endpoint does not accept this override. |
session_id | string | |
url | string | Signed hosted intake URL. Include it in every call to the hosted MCP endpoint. |
get_intake_state Get intake state
Get the current applicant intake state. Pass url, or session_id with access_token, on the hosted MCP endpoint.
| Parameter | Type | Description |
|---|---|---|
access_token | string | Applicant access token. Use it with session_id instead of url. |
api_base_url | string | Optional Klarefi deployment URL for local stdio use. The hosted MCP endpoint does not accept this override. |
session_id | string | |
url | string | Signed hosted intake URL. Include it in every call to the hosted MCP endpoint. |
answer_question Answer intake question
Answer the active applicant question with free text, optionally targeting a task_id. When the applicant cannot supply what it asks for now, say so and why; the question is then closed and not asked again unless something new is sent.
| Parameter | Type | Description |
|---|---|---|
text * | string | |
access_token | string | Applicant access token. Use it with session_id instead of url. |
api_base_url | string | Optional Klarefi deployment URL for local stdio use. The hosted MCP endpoint does not accept this override. |
session_id | string | |
task_id | string | |
url | string | Signed hosted intake URL. Include it in every call to the hosted MCP endpoint. |
answer_fields Answer intake fields
Answer structured requested facts by fact_id. Values must be strings; yes_no fields take "yes" or "no", and date fields use YYYY-MM-DD.
| Parameter | Type | Description |
|---|---|---|
fields * | object | String values keyed by fact_id. |
access_token | string | Applicant access token. Use it with session_id instead of url. |
api_base_url | string | Optional Klarefi deployment URL for local stdio use. The hosted MCP endpoint does not accept this override. |
session_id | string | |
task_id | string | |
url | string | Signed hosted intake URL. Include it in every call to the hosted MCP endpoint. |
upload_document Upload intake document
Upload a requested applicant document. Use content_base64 on the hosted MCP endpoint. Local stdio clients can use file_path. Inline content is limited to 5MB decoded; local files can be up to 25MB.
| Parameter | Type | Description |
|---|---|---|
access_token | string | Applicant access token. Use it with session_id instead of url. |
api_base_url | string | Optional Klarefi deployment URL for local stdio use. The hosted MCP endpoint does not accept this override. |
content_base64 | string | |
file_path | string | |
filename | string | Required with content_base64. Defaults to the basename of file_path. |
mime_type | string | |
session_id | string | |
task_id | string | |
url | string | Signed hosted intake URL. Include it in every call to the hosted MCP endpoint. |
give_intake_consent Give intake consent
Record the applicant's consent to processing. Call it when the intake state's next_action is consent, and only after the applicant has agreed to the notice in next_action.notice. Returns the fresh intake state.
| Parameter | Type | Description |
|---|---|---|
access_token | string | Applicant access token. Use it with session_id instead of url. |
api_base_url | string | Optional Klarefi deployment URL for local stdio use. The hosted MCP endpoint does not accept this override. |
session_id | string | |
url | string | Signed hosted intake URL. Include it in every call to the hosted MCP endpoint. |
submit_intake Submit intake
Submit the applicant intake. Returns submitted, blockers, and the fresh intake state.
| Parameter | Type | Description |
|---|---|---|
access_token | string | Applicant access token. Use it with session_id instead of url. |
api_base_url | string | Optional Klarefi deployment URL for local stdio use. The hosted MCP endpoint does not accept this override. |
field_values | object | Optional final field values; each value must be string or null. |
session_id | string | |
url | string | Signed hosted intake URL. Include it in every call to the hosted MCP endpoint. |
save_intake_draft Save intake draft
Save applicant form draft fields without submitting. Field values must be strings or null.
| Parameter | Type | Description |
|---|---|---|
fields * | object | Draft field values keyed by field_id. |
access_token | string | Applicant access token. Use it with session_id instead of url. |
api_base_url | string | Optional Klarefi deployment URL for local stdio use. The hosted MCP endpoint does not accept this override. |
session_id | string | |
url | string | Signed hosted intake URL. Include it in every call to the hosted MCP endpoint. |
wait_for_next_action Wait for next intake action
Poll until the intake leaves processing or the timeout expires. If timed_out is true, call wait_for_next_action again.
| Parameter | Type | Description |
|---|---|---|
access_token | string | Applicant access token. Use it with session_id instead of url. |
api_base_url | string | Optional Klarefi deployment URL for local stdio use. The hosted MCP endpoint does not accept this override. |
session_id | string | |
timeout_seconds | number | |
url | string | Signed hosted intake URL. Include it in every call to the hosted MCP endpoint. |