Entity Enricher
v2.0.0Multi-LLM entity enrichment: schemas, single/batch enrichment, fusion, model benchmarks.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
upload_attachment Upload attachment
Upload base64 file bytes as reusable source material; returns id and requires_capability. Pass the ID in attachment_ids to sample/schema generation, enrichment or benchmarks. Supported format handling depends on server MIME policy: extracted text or model-readable binary. Keep the file at hand: a job running on your model (the default) names it in its requests and you read your own copy, whatever its format — no platform model is needed to read it. On platform models, leave the model on auto so the pick can read it. Uploading does not itself run an LLM. A generated sample with attachments is…
| Parameter | Type | Description |
|---|---|---|
content_base64 * | string | The file's bytes, base64-encoded (no data: prefix). |
filename * | string | Original filename including extension (e.g. 'report.pdf'). |
media_type | Optional MIME hint; the server still sniffs the magic bytes. |
delete_attachment Delete attachment
Permanently delete an attachment in your organization, including its stored file. No LLM call. Existing records remain, but future calls or schema regeneration cannot reuse the deleted source. Delete only when that source is no longer needed; this is not a required post-enrichment step. Returns the deleted ID and filename.
| Parameter | Type | Description |
|---|---|---|
attachment_id * | string | UUID of the attachment to delete. |
start_batch_enrichment Start batch enrichment
Start billed asynchronous enrichment of an entity list against exactly one of schema_id or target_schema. Returns job_id and total. No fixed entity-count cap; live prompt quotas and credits can stop remaining work. Each entity follows the enrichment/fusion pipeline; every model must succeed for its automatic fusion and database admission. A confident classification mismatch skips that entity without enrichment, never pauses the batch. Poll get_job_status, then list_records(job_id=...). Attachments apply to every entity. Unlike enrich_entity, this tool does not expose database_sync=false. By de…
| Parameter | Type | Description |
|---|---|---|
entities * | array | Entities to enrich (each a free-form dict naming the entity — the schema's identifying fields ideally, but any field names work). |
arbitration_model | Optional LLM for auto-fusion conflict resolution (None = rule-based). | |
attachment_ids | Attachment UUIDs applied as source material to every entity. | |
classification_model | Optional classifier key. Confident mismatches skip that entity; softer verdicts become prompt context. Batch classification never pauses. | |
enable_web_search | On your model (the default), true asks you to ground the answers with your own web search tool and false not to; omitted returns web_search_undecided so you ask the user first. On platform models, tru… | |
languages | ISO 639-1 codes; defaults to ['en']. | |
models | Model composite keys; omit (or pass ['auto']) for one automatically selected model: YOUR model, or with use_platform_models=true the organization's best model for enrichment from its benchmark scores… | |
reasoning_effort | Thinking (reasoning) opt-in: low, medium or high; omitted = off. On the platform, auto then picks only a model whose reasoning the platform can pilot, and the effort is translated per provider. On YOU… | |
schema_id | UUID of a saved schema. Mutually exclusive with target_schema. | |
strategy | string | auto (default) | single_pass | expert_domains | multi_expertise |
target_schema | Inline schema document in the supported Entity Enricher dialect. Prefer schema_id to link records. See enricher://docs/schema-reference. | |
use_platform_models | boolean | false (default): every LLM call of this job runs on YOUR model — the job parks each call as a pending request you answer with answer_llm_request; no credits are consumed. Attachments are no reason t… |
list_benchmark_scenarios List benchmark scenarios
List compact benchmark scenario summaries and total. Scenarios test enrichment, sample generation or schema generation. No LLM call. Read one with get_benchmark_scenario or create one with create_benchmark_scenario. Lifecycle and reference requirements: enricher://docs/model-benchmark.
get_benchmark_scenario Get benchmark scenario
Read one benchmark scenario with per-model quality, cost and speed results. include_reference=true adds the reference, the fixed entity_data and the schema-generation entity_samples. Config changes can make existing results stale. No LLM call. For a ranked subset use get_benchmark_scenario_results. Results carry scores and metrics, not each model's output or scoring breakdown: read one in full with get_benchmark_result. Read after run_benchmark completes.
| Parameter | Type | Description |
|---|---|---|
scenario_id * | string | UUID of the scenario. |
include_reference | boolean | Include reference_output + entity_data (can be large). |
get_benchmark_result Get benchmark result
Read one model's benchmark result in full: its output (structured_output), the scoring breakdown (quality_detail: per-field scores, judge verdicts and the findings that update the reference) and its derived scores. include_runs=true adds every repetition with its own output and breakdown (can be large). result_id comes from get_benchmark_scenario or get_benchmark_scenario_results. No LLM call.
| Parameter | Type | Description |
|---|---|---|
result_id * | string | UUID of the result (the `id` of a result row). |
scenario_id * | string | UUID of the scenario. |
include_runs | boolean | Include every repetition's output and breakdown (can be large). |
get_benchmark_scenario_results Get ranked benchmark scenario results
Filter, rank and limit a scenario's per-model benchmark results. No LLM call. overall blends quality, speed and cost using organization task weights and is null if a component is missing. Status tags are independent: success does not exclude stale or stale_score results. Missing sort metrics come last in either direction. Each row's id opens the full result (output, breakdown, findings) with get_benchmark_result. See enricher://docs/model-benchmark for interpretation.
| Parameter | Type | Description |
|---|---|---|
scenario_id * | string | UUID of the scenario. |
limit | Keep only the top N after sorting (None = all). | |
model_keys | Keep only these model composite keys (empty/None = every model). | |
providers | Keep only these provider names (empty/None = every provider). | |
sort_by | string | Metric to sort by. |
sort_order | string | Sort direction. |
status | Keep results carrying ANY of these tags: success | failed | stale (config_hash changed since this run, re-run it) | stale_score (reference/scoring config changed since scored, rescore it) | unscored (… |
create_benchmark_scenario Create benchmark scenario
Create a reusable benchmark with a mandatory scoring judge. scenario_type='enrichment' needs schema_id and entity_data (the entity to enrich, as enrich_entity takes it — refused when it carries no value; never put it in description); 'sample_generation' needs sample_request; 'schema_generation' needs entity_samples (1..20 samples of one entity type). Enrichment and schema generation need a verified gold reference via set_benchmark_reference before running. Sample generation is rubric-scored and takes no reference. Requires owner and a plan with benchmarks; creating the scenario does not run…
| Parameter | Type | Description |
|---|---|---|
name * | string | |
scoring_judge_model_key * | string | LLM judge composite key used to score results (required). |
attachment_ids | Attachment UUIDs included in every run. | |
description | Free-text note shown in the Benchmarks tab; no model ever reads it. The entity to enrich goes in entity_data, never here. | |
enable_web_search | boolean | sample_generation: ground values with the model's web search. |
entity_data | Enrichment (required there): the fixed entity input every model enriches — the same JSON enrich_entity takes. Read get_schema.input_contract first: identifying fields, preserve paths and keys for su… | |
entity_samples | schema_generation: the 1..20 fixed input samples (JSON objects of one entity type) every model converts to a schema. Several samples let the scoring read evidence the reference cannot state alone (nul… | |
generate_semantic_ids | boolean | schema_generation: add semantic_id properties to keyed objects. |
language | string | sample_generation: output language for names + values. |
languages | Enrichment: defaults to ['en']. | |
naming_convention | string | sample_generation: auto | snake_case | camelCase. |
repetitions | integer | Run each model N times per run; keeps mean + consistency spread. |
sample_request | sample_generation: the free-text sample request every model answers — the kind of entity, what the sample must contain, any budget or structural preference (same contract as generate_sample's reques… | |
scenario_type | string | enrichment | sample_generation | schema_generation (immutable). |
schema_id | UUID of the saved schema to enrich against (enrichment only, required there). | |
strategy | string | Enrichment: pinned strategy (no 'auto'): single_pass | expert_domains | multi_expertise |
typical_object | sample_generation: a specific instance to model (e.g. 'Serena Williams'). |
update_benchmark_scenario Update benchmark scenario
Edit a benchmark's test definition or scoring configuration. Requires owner and a plan with benchmarks; no model run. Only supplied fields change, but sample_params and schema_gen_params replace their parameter objects wholesale. The judge may be replaced, not cleared; scenario_type is immutable. Changed test definitions make previous results stale. Re-run affected models to refresh their scores. See enricher://docs/model-benchmark.
| Parameter | Type | Description |
|---|---|---|
scenario_id * | string | UUID of the scenario. |
description | Free-text note shown in the Benchmarks tab; no model ever reads it. | |
entity_data | Enrichment: replacement fixed entity input (same contract as enrich_entity's entity_data; refused when it carries no value). | |
entity_samples | schema_generation: replacement input samples (1..20, whole list). | |
languages | ||
name | ||
repetitions | ||
sample_params | sample_generation: full replacement task params object {request, typical_object, naming_convention, language, enable_web_search}. | |
schema_gen_params | schema_generation: full replacement task params object {generate_semantic_ids}. | |
schema_id | New saved-schema UUID. | |
scoring_judge_model_key | ||
scoring_source | Feed this scenario's results into the live per-model scores of the options API: 'organization' (owner+), 'global' (system admin only, fallback for orgs without their own source), or 'off' to stop usin… | |
strategy |
set_benchmark_reference Set benchmark reference
Save the gold reference for an enrichment or schema-generation benchmark. Only set reference_verified=true after checking its values against trusted evidence or obtaining human sign-off; a generated answer alone is not verification. Schema-generation references must be GeneratedJsonSchema objects. Sample-generation scenarios reject references because they are rubric-scored. Requires owner and a plan with benchmarks; no LLM call. A verified reference enables run_benchmark. See enricher://docs/model-benchmark.
| Parameter | Type | Description |
|---|---|---|
reference_output * | object | Expected entity JSON for enrichment, or a schema document for schema_generation. Sample-generation scenarios do not accept a reference. |
scenario_id * | string | UUID of the scenario. |
reference_verified | boolean | Explicit sign-off that the reference is correct (required to run). |
source | Provenance: generated | pasted | record (default 'pasted'). | |
source_record_id | Record UUID the reference was copied from (when source='record'). |
revert_benchmark_reference_updates Revert benchmark reference updates
Undo automatic edits a scoring pass made to a scenario's reference. Every scoring pass folds what the scored models showed the reference should be (a candidate the judge found better, a rule the samples prove, a value the reference lacked) and writes it into the reference — an edit a pass already made is only replaced by stronger evidence (samples, a wrong verdict, more agreeing models), never by one more model's better verdict; the log is reference_meta.auto_applied on get_benchmark_scenario, each entry with its inverse patch. Pass the revision ids to undo: the inverse is applied, the entry…
| Parameter | Type | Description |
|---|---|---|
revision_ids * | array | Ids of the reference_meta.auto_applied entries to undo (1..200). |
scenario_id * | string | UUID of the scenario. |
delete_benchmark_scenario Delete benchmark scenario
Delete a benchmark scenario and its stored results. Requires owner and a plan with benchmarks. No LLM call; inspect the scenario before deleting it.
| Parameter | Type | Description |
|---|---|---|
scenario_id * | string | UUID of the scenario to delete. |
run_benchmark Run benchmark
Start billed asynchronous execution and scoring of a benchmark. Requires owner, a benchmark-enabled plan and a judge; a verified reference is also required except for sample generation. Supply model_keys or providers; omitting both runs all active models with usable provider keys. Repetitions and judging increase cost. Returns job_id and total_models: poll get_job_status, then read get_benchmark_scenario_results. Re-running replaces each selected model's previous result. An organization's benchmark runs and scoring passes execute one at a time: a launch while another is in flight is queued (qu…
| Parameter | Type | Description |
|---|---|---|
scenario_id * | string | UUID of the scenario to run. |
model_keys | Explicit model composite keys. Overrides `providers`. | |
providers | Provider names (e.g. ['anthropic', 'mistral']) — runs every active model of those providers that has a valid key. |
list_database_syncs List database syncs
List a saved schema's database registrations, linked schemas, options and sync hosts. Returns pending and quarantined delta counts, projection_upgrade_pending and database links. No LLM call. Pending zero alone does not prove healthy delivery: check quarantine and migration blockers. Use list_entity_states for server-side rows and get_record for per-record delivery state. Delivery to the PostgreSQL or SQL Server database is performed by the user's sync client. See enricher://docs/database-sync.
| Parameter | Type | Description |
|---|---|---|
schema_id * | string | Saved schema UUID. |
list_entity_states List entity states
Browse a schema's current merged entity rows, not per-run records. Requires editor; no LLM call. Returns identities, revision, last_record_id and optionally payload, with limit/offset pagination. Rejected entities have no row; purge_entity_state may also remove delivered rows. Server-side state does not prove the external replica has applied its deltas. Use get_record and list_database_syncs for delivery and rejection diagnostics. See enricher://docs/database-sync.
| Parameter | Type | Description |
|---|---|---|
schema_id * | string | Saved schema UUID. |
entity_type | Filter to one entity type (the response lists the types present). | |
include_payload | boolean | Include each entity's current merged payload. Set false for a compact identity-only listing (keys, revision, last_record_id). |
limit | integer | |
offset | integer |
create_database_sync Create database sync
Register a saved schema for relational synchronization to PostgreSQL or SQL Server. Requires owner and a sync-enabled plan. Starts a billed classification job when available; returns database ID, classification_job_id or classification_skipped, stamped_keys and registration_notices. The webhook signing secret stays outside the MCP response and can be managed in the web app. The schema is initially unpublished: wait for classification, review keys/options/notices, then publish_schema before any data can sync. pk_strategy locks once the physical model ships. Owned child arrays replace previous m…
| Parameter | Type | Description |
|---|---|---|
name * | string | Name of the physical database (existing on the user's server, or created by `ee-database run --create-missing`); shared by every schema linked to this database sync. Also used (snake-cased) as the con… |
schema_id * | string | Saved schema UUID to connect the database to. |
dialect | string | Target database type: `postgres` (PostgreSQL) or `sqlserver` (SQL Server 2022 or later). The snapshot and the deltas are rendered in its SQL. |
index_scalars | string | none: identity/feed indexes; keys: add natural keys and relation access paths; filterable (default): add dates, search intent, spatial/range roles and entity query indexes; all: every scalar. Later ch… |
key_language | Language of multilingual identity tokens (ISO 639-1), shared by all schemas of this database. Usually defaults to schema language when needed; publication may request it after classification. Locked o… | |
notify_debounce_s | integer | Quiet period (seconds) before a delta-available notification fires: each new delta resets the timer, so a burst is announced once. Default 5 for MCP callers (agent workflows expect near-immediate reac… |
on_gaps | string | Admission gate — what is written when an enrichment has gaps (non-nullable fields unfilled). 'reject_entity': nothing — one gap anywhere refuses the whole enrichment. 'skip_children' (default): th… |
pattern_index_localized_keys | boolean | Add per-language pattern-match indexes on indexed localized keys/labels (default false). Useful for prefix autocomplete; increases write/index cost. PostgreSQL only: refused (option_not_served) with d… |
pk_strategy | string | surrogate (default): physical surrogate IDs with unique schema keys; natural: use schema keys as physical primary keys, so a later re-key also rewrites their copies in every dependent table. Locks onc… |
propagate_not_null | Mirror required schema fields as SQL NOT NULL. Omitted: on for strict gap policies, off for accept_partial. True with accept_partial is refused. Later tightening requires validating existing replica r… | |
purge_entity_state | boolean | Delete fully delivered entity state after every linked database acknowledges it. Transfers custody to replicas, makes server snapshots incomplete and limits duplicate checks. Relay custody_warning and… |
purge_entity_state_delay_days | Grace period for purge_entity_state: a fully-delivered entity row is kept until it has gone this many days without an update, then the hourly purge deletes it. Omit to delete it as soon as every datab… | |
purge_on_ack | boolean | Delete delivered delta copies once acknowledged. |
purge_on_ack_delay_days | Grace period for purge_on_ack: keep acknowledged delta copies this many days (from acknowledgement) before the hourly purge deletes them. Omit to delete them at acknowledgement. Bounded by the plan's… | |
target_host | Sync host (id or name) that should provision and sync this registration automatically (managed ee-database mode). Omitted: auto-assigned when exactly one eligible host is connected; otherwise the resp… | |
use_platform_models | boolean | By default (false) the registration's classification pass runs on YOUR model: its calls come back as pending requests on classification_job_id, to answer with answer_llm_request; no credits are consum… |
assign_sync_host Assign sync host
Assign or clear the host provisioning a database sync. Requires owner and a sync-enabled plan. host accepts a connected host ID/name; null unassigns it. Assignment may create the physical database and start synchronization automatically. Moving hosts revokes the old host's minted credential; an existing manual pairing is not evicted. Candidates come from create_database_sync or list_database_syncs. No LLM call. Managed and manual setup: enricher://docs/database-sync.
| Parameter | Type | Description |
|---|---|---|
database_id * | string | Database sync UUID (from list_database_syncs). |
host | Sync host id or name; null clears the assignment. |
classify_database_model Classify database model
Start a billed analysis proposing database keys, SQL types, indexes and relationship ownership on a linked schema. Requires editor. Registration already starts the initial pass; use this after relevant edits. Incremental scope covers new properties or changed JSON types/multilingual flags; an empty scope does not rerun unchanged fields. Returns job_id: poll get_job_status and inspect get_schema's working copy. Correct proposals with property tools, then publish_schema to ship changes. Entity-level indexes and ownership choices: enricher://docs/database-sync.
| Parameter | Type | Description |
|---|---|---|
schema_id * | string | Saved schema UUID to classify. |
model | string | Model composite key; leave it on auto (the default). auto is YOUR model, or with use_platform_models=true the organization's best model for this task from its benchmark scores (quality/speed/cost weig… |
use_platform_models | boolean | false (default): every LLM call of this job runs on YOUR model — the job parks each call as a pending request you answer with answer_llm_request; no credits are consumed. Attachments are no reason t… |
delete_database_sync Delete database sync
Delete a database registration and its queued deltas, stopping its feed. Requires owner and a sync-enabled plan; no LLM call. External replica tables remain untouched. Entity state and schema database flags remain by default; delete_entity_state and clear_database_model additionally remove data/model settings from schemas left with no registration. Obtain approval for those irreversible teardown options. See enricher://docs/database-sync.
| Parameter | Type | Description |
|---|---|---|
database_id * | string | Database sync UUID (from list_database_syncs). |
clear_database_model | boolean | Also clear the database model those schemas carry (database_key, db_type, index, unique_group, shared, ordered, db_name/db_name_absolute, the classification ledger and the key-language lock), returnin… |
delete_entity_state | boolean | Also hard-delete the stored entity state of the schemas left with no database (nothing writes to it anymore). Enrichment records are untouched. Irreversible. |
get_database_setup_instructions Get database setup instructions
Return non-secret install, browser-confirmed pairing and run instructions for an ee-database sync client. Requires owner and a sync-enabled plan; no LLM call and no credential is issued or exposed to the MCP client. Run pair_command on the intended replica host: the CLI opens verification_url, the user chooses the database and confirms, and the credential travels directly to the polling CLI. Its DSN stays on that host. Use manual pairing only when managed host provisioning is not already handling the registration. Setup: enricher://docs/database-sync.
| Parameter | Type | Description |
|---|---|---|
database_id * | string | Database sync UUID (from list_database_syncs). |
fetch_database_deltas Fetch database deltas
Read the next ordered window of SQL deltas and canonical payloads for a database sync. claim=false is replayable; claim=true leases the window for 120 seconds. Apply a claimed window transactionally, including schema deltas, before ack_database_deltas. Each delta's sql is one executable batch in the registration's dialect (PostgreSQL or SQL Server); never join two SQL Server deltas into one batch. limit is also bounded by the registration's page_limit. snapshot_required pauses delivery until the snapshot is downloaded; the replica must apply it first. No LLM call. Leasing, cursors, quarantine…
| Parameter | Type | Description |
|---|---|---|
database_id * | string | Database sync UUID (from list_database_syncs). |
claim | boolean | Lease the window (requires ack). |
limit | integer | |
since | integer | Cursor: return deltas with id > since. |
ack_database_deltas Acknowledge database deltas
Acknowledge every delta through up_to_id after successful application, releasing its lease. Acknowledgement can permanently purge delivered deltas and entity state according to registration options; never acknowledge unapplied or failed work. Returns acknowledged and purged counts. No LLM call. Apply/ack workflow: enricher://docs/database-sync.
| Parameter | Type | Description |
|---|---|---|
database_id * | string | Database sync UUID. |
up_to_id * | integer | Acknowledge every delta with id <= this value. |
sync_records_to_database Inject records into the database sync
Validate and inject stored or supplied enrichment output into the entity layer and linked syncs. May incur semantic-resolution cost. record_id alone reuses its output; adding structured_output creates a new derived record. Without record_id, supply structured_output and saved_schema_id. Each item uses the current published contract and admission gate. Only enrichment/arbitration records qualify; base records whose fusion is in the same request are skipped. Inspect each outcome for rejected or partial writes. Use after fixing a rejected output or an enrich_entity run with database_sync=false. S…
| Parameter | Type | Description |
|---|---|---|
items * | array | Entities to inject. Each item: {record_id?, structured_output?, saved_schema_id?} — at least one of record_id / structured_output, and saved_schema_id required when there is no record_id. |
list_models List models
List available model keys, nominal capabilities, languages, strategies, auto-selected defaults and organization profile_limits. Use when choosing explicit models or checking plan limits; ordinary calls may omit models or use auto without fetching this large catalogue. Auto also accounts for attachment capabilities. is_available means a usable provider key exists, not that provider quota or every combination of tools and media will work. Missing capability flags mean unsupported on this discovery surface. default_models_web_search is a search-only preview, not attachment-specific. No LLM call.…
enrich_entity Enrich entity
Enrich one entity against exactly one of schema_id or target_schema, returning structured output, record_id, costs and any database outcome. Read get_schema's input_contract first (published version when linked); never invent preserve values. Models may be omitted for auto selection. Generation is billed. Two or more models fuse only when all succeed: check failed_models before reporting success. A failed leg prevents automatic fusion and database admission. classification_warning returns success=false, error_code and classification; bypass only after user confirmation. Database sync defaults…
| Parameter | Type | Description |
|---|---|---|
entity_data * | object | Entity identifiers and supplied values. Read get_schema.input_contract first: preserve paths and keys for supplied array items are required. Identifying field names are guidance; arbitrary names are a… |
arbitration_model | Optional LLM model key used to resolve fusion conflicts when 2+ models are selected. Without this, conflicts are resolved by deterministic voting. | |
attachment_ids | UUIDs of attachments (from upload_attachment) to provide as source material for this enrichment. | |
classification_model | Optional pre-flight classifier model key. When set, the entity is type-checked before enrichment to catch mismatches. | |
database_sync | boolean | Whether this run feeds the schema's entity layer and linked databases. Leave true for normal enrichments. Set false for the one-model recovery leg of a failed fusion run (see the recovery ladder above… |
enable_web_search | On your model (the default), true asks you to ground the answers with your own web search tool and false not to; omitted returns web_search_undecided so you ask the user first. On platform models, tru… | |
force_after_classification_warning | boolean | Set to true to bypass a previous classification warning. Use only after explicit user confirmation. |
languages | ISO 639-1 codes; defaults to ['en'] server-side. The first language is the primary one used for all non-multilingual string fields; multilingual fields get one value per language. | |
models | Model composite keys; omit (or pass ['auto']) for one automatically selected model: YOUR model, or with use_platform_models=true the organization's best model for enrichment from its benchmark scores… | |
reasoning_effort | Thinking (reasoning) opt-in: low, medium or high; omitted = off. On the platform, auto then picks only a model whose reasoning the platform can pilot, and the effort is translated per provider. On YOU… | |
schema_id | UUID of a saved schema. Mutually exclusive with target_schema. | |
strategy | string | auto (default — server picks from the schema) | single_pass (simple schemas, 1 LLM call) | expert_domains (medium schemas with clear domains) | multi_expertise (large multi-domain schemas, parallel… |
target_schema | Inline JSON Schema document in the supported Entity Enricher dialect; prefer schema_id. Format: enricher://docs/schema-reference. | |
timeout_seconds | integer | Wall-clock cap. Past it the call returns `enrichment_timeout` with the job_id and the job is cancelled — a leg still in flight may finish and persist a partial record, reachable via list_records(job… |
use_platform_models | boolean | false (default): every LLM call of this job runs on YOUR model — the job parks each call as a pending request you answer with answer_llm_request; no credits are consumed. Attachments are no reason t… |
retry_expertises Retry failed expertises
Retry only an existing record's failed expertise domains, then update its output and attempt the run's fusion/synchronization. Billed for retried work. Requires failed_expertises on that record (get_record); a surviving successful sibling is not retryable and returns no_failed_expertises. Supply its entity_input_data and saved_schema_id; model optionally substitutes the failed model. Returns job_id: poll get_job_status, then re-read get_record. When the failed leg left no record, use a one-model enrich_entity with database_sync=false followed by merge_records instead. Recovery decisions: enric…
| Parameter | Type | Description |
|---|---|---|
entity_data * | object | The record's original entity input (get_record -> entity_input_data). |
record_id * | string | Enrichment record with failed expertises. |
enable_web_search | On your model (the default), true asks you to ground the answers with your own web search tool and false not to; omitted returns web_search_undecided so you ask the user first. On platform models, tru… | |
languages | ISO 639-1 codes; defaults to ['en']. | |
model | Model to retry with. Omitted (the default), the retry runs on YOUR model or, with use_platform_models=true, on the record's own model. Name a stronger provider::model (list_models) only when a domain… | |
reasoning_effort | Thinking (reasoning) opt-in: low, medium or high; omitted = off. On the platform, auto then picks only a model whose reasoning the platform can pilot, and the effort is translated per provider. On YOU… | |
schema_id | Saved schema UUID (get_record -> saved_schema_id). Or pass target_schema. | |
target_schema | Raw schema dict when no saved schema exists. | |
use_platform_models | boolean | false (default): every LLM call of this job runs on YOUR model — the job parks each call as a pending request you answer with answer_llm_request; no credits are consumed. Attachments are no reason t… |
merge_records Merge records
Fuse two or more records of the same entity into a new arbitration record. Without arbitration_model use voting, median and union rules; with an arbiter, conflicts may incur LLM cost. Returns output, conflicts, fusion metadata and a new record ID. The merged result can feed linked databases and overwrite current entity values. Inspect database warnings and the actual fusion method; an arbiter failure can fall back to rules. Use this after separately recovered model runs, not to merge different entities. See enricher://docs/enrichment-and-fusion. With arbitration_model='auto' YOU arbitrate (unl…
| Parameter | Type | Description |
|---|---|---|
result_ids * | array | UUIDs of the enrichment records to merge (minimum 2). |
arbitration_model | LLM arbitration: None = rule-based (no model call), 'auto' = YOUR model (or the platform's pick with use_platform_models=true), a platform key = that model. | |
attachment_ids | Attachments passed to the arbitration LLM (ignored for rule-based merges). | |
use_platform_models | boolean | false (default): every LLM call of this job runs on YOUR model — the job parks each call as a pending request you answer with answer_llm_request; no credits are consumed. Attachments are no reason t… |
wait_seconds | integer | Delegated merges only: how long to wait for the first pending request or completion before returning. |
get_job_status Get job status
Read a job's status, progress and compact terminal summary with persisted record IDs. Status is pending, running, paused, completed, failed or cancelled. Relay pause questions with answer_job_question; answer a delegated job's llm_requests with answer_llm_request. include_result=true returns full terminal details; batch summaries count entities and database outcomes. A failed job is not usable output; inspect individual records for partial recovery. An unknown job ID says nothing about the outcome: look for persisted outputs with list_records(job_id=...). events_after=<seq> adds the job's even…
| Parameter | Type | Description |
|---|---|---|
job_id * | string | Job ID returned by a start tool. |
events_after | Event-log cursor: 0 returns the job's events from the start, a previous call's last_seq returns only the newer ones (at most 100 per call; events_has_more says when to call again). Omit to skip the lo… | |
include_result | boolean | Include the full terminal result payload (can be large). Default returns a compact scalar summary per model. |
llm_request_id | On a job delegating its LLM calls: return this pending request complete (messages, systemPrompt, tools, toolChoice, attachments) as the only entry of llm_requests. request_not_pending when it is no lo… |
cancel_job Cancel job
Request cancellation of a pending, running or paused LLM job. In-flight model calls may finish and persist records; remaining work is skipped. Cancellation does not roll back records or database writes. Read get_job_status and list_records(job_id=...) afterward to inspect the outcome. No new LLM call is started by this tool.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | Job ID to cancel. |
answer_job_question Answer job question
Resume a paused job with answers to the questions returned under pause. answers maps question IDs to {option_ids: [...], text: ...}; omitted questions use defaults. Relay consequential unanswered choices to the user unless those defaults were already authorized. Resuming may continue billed model work. Returns the next pause, terminal result or running status after wait_seconds; poll get_job_status if still running. Works with generate_sample clarification in both knowledge and source modes. See enricher://docs/documents.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | Paused job ID. |
answers | Map of question id -> {option_ids: list[str], text: str | null}. Omit to resume with the planner's defaults. | |
wait_seconds | integer | How long to wait for the job's next pause or completion before returning (0 = return immediately after resuming). |
answer_llm_request Answer delegated LLM request
Submit the result of one pending model call of a delegated job: a job the user started on the client's own model (every start tool's default unless use_platform_models=true or an explicit platform model), so no platform model is called and no credits are spent. The request is under get_job_status(job_id).llm_requests (or in the start tool's return): it carries Entity Enricher's extraction prompt (systemPrompt, messages) and the tools and toolChoice that define the expected structured output. Produce that completion on the client's own model, then pass it here as response in MCP CreateMessageRe…
| Parameter | Type | Description |
|---|---|---|
job_id * | string | Job whose llm_requests you are answering. |
request_id * | string | The request_id of the entry you answer. |
response * | object | MCP CreateMessageResult: role 'assistant', model (your model's name), stopReason, content (one block or a list of text / tool_use blocks); optional usage {input_tokens, output_tokens}. |
wait_seconds | integer | How long to wait for the job's next pending request, pause or completion before returning (0 = return right after handing over the answer). |
list_records List records
List compact, paginated records in your organization, most recent first. Filter by job_id to retrieve persisted outputs of an asynchronous workflow; type, success, model and search further narrow the result. Both per-model enrichment and arbitration records may exist for one entity. Use get_record for full output and failures; use list_entity_states for current merged entity state instead of run history. No LLM call. Fetch every page when a job produces more than one page of records.
| Parameter | Type | Description |
|---|---|---|
job_id | Filter to a single job (every model + expertise in one batch shares one job_id). | |
model | Filter by model composite key (e.g. 'anthropic::claude-sonnet-4-6'). | |
page | integer | |
page_size | integer | |
record_type | Filter by type: enrichment | classification | arbitration | sample_generation | schema_generation | schema_edit | schema_annotation | ambiguity_analysis | db_classification | benchmark_scoring | playg… | |
search | Substring match against the entity's `name` field in the output. | |
success | True = only successful records; False = only failed. |
get_record Get record
Read one persisted record's structured_output, entity_input_data, validation errors, expertise verdicts and metrics. failed_expertises and partial identify incomplete work even when output exists; use retry_expertises only on a record with failed domains. Fusion metadata identifies its source models and arbitration method. database_sync, when present, reports admission and per-replica delivery state. Returns record_url and the related schema link. No LLM call. Interpretation and recovery: enricher://docs/enrichment-and-fusion.
| Parameter | Type | Description |
|---|---|---|
record_id * | string | UUID of the record. |
get_stats Get statistics
Read organization-wide record totals, success rate, tokens and cost summary, with by_model: per model composite key, its records, successes, cost and mean LLM time. No LLM call. This tool has no job filter; use list_records(job_id=...) for a particular run and benchmark tools for comparative quality/cost/speed scores.
generate_sample Generate sample
Generate editable sample JSON from a free-text request for schema authoring. Without attachments, use model knowledge and optional web search; with attachments, extract from the sources only (search does not relax that rule). Each sample is one instance in one language; set sample_count separately from request. Attachments force one sample. Requires editor; generation is billed. Returns a job_id and may already be paused or complete: relay pause questions through answer_job_question, otherwise poll get_job_status. Review returned samples and warnings before create_schema_from_sample; do not si…
| Parameter | Type | Description |
|---|---|---|
attachment_ids | UUIDs from upload_attachment. Providing any attachment switches the call into source mode: transcribe the document or describe visible photo attributes only, with an interactive planner. | |
auto_answer | Omit or false to pause for clarification; true authorizes standard interpretations and planner defaults without asking, in either mode. | |
enable_web_search | Knowledge mode only; source mode (attachments) remains source-only. On your model (the default), true asks you to ground the samples with your own web search tool and false not to; omitted returns web… | |
existing_samples | Samples you already hold, to extend instead of starting over: the new samples reproduce the first one's exact field set and never repeat an instance already in the set; sample_count is then the number… | |
language | Output language code for the generated field names AND values (e.g. 'en', 'fr'); an explicit code applies even when attachments are in another language. Omitted (default) → the generator follows the… | |
model | string | Model composite key; leave it on auto (the default). auto is YOUR model, or with use_platform_models=true the organization's best model for this task from its benchmark scores (quality/speed/cost weig… |
naming_convention | string | auto | snake_case | camelCase |
reasoning_effort | Thinking (reasoning) opt-in: low, medium or high; omitted = off. On the platform, auto then picks only a model whose reasoning the platform can pilot, and the effort is translated per provider. On YOU… | |
request | string | Entity type, desired fields, scope and size/depth budget. Required without attachments; optional source-mode instructions otherwise. Put the number of instances in sample_count, not in this text. |
sample_count | integer | Number of same-type instances (1..20), default 1. Consider 3 varied instances when designing a schema. Attachments force 1. Inspect samples_note for under-delivery or the cap. |
typical_objects | Up to sample_count concrete instances to anchor knowledge mode (e.g. ['Sanofi', 'Pfizer']), one per generated sample in order — slots beyond len(typical_objects) are named by the model's own instanc… | |
use_platform_models | boolean | false (default): every LLM call of this job runs on YOUR model — the job parks each call as a pending request you answer with answer_llm_request; no credits are consumed. Attachments are no reason t… |
wait_seconds | integer | How long to wait for the first pause or completion before returning (0 = return the job_id immediately). |
list_schemas List schemas
List saved schemas in your organization, pinned first. Returns compact summaries with IDs, names and links; no LLM call. Use get_schema to inspect a chosen schema and its input contract, or get_schema_part for a targeted edit. For a database-linked schema, enrich against its published version; the working copy may contain unpublished changes.
get_schema Get schema
Read a saved schema with its properties, annotations and input_contract. Before enrichment, use version='published' for a database-linked schema; default 'working' is for editing. identifying_keys guide entity naming; preserve values belong to the caller and are required; each supplied array item must carry its array_item_keys. Never invent caller-owned values. The response includes version, publish_state and schema_url. A requested published contract that does not exist returns not_found. For a small edit prefer get_schema_part. No LLM call. Contract details: enricher://docs/schema-reference.
| Parameter | Type | Description |
|---|---|---|
schema_id * | string | UUID of the saved schema. |
version | string | 'working' (default) — the editable copy updates/edits apply to; 'published' — the contract enrichment and database sync use (only meaningful for schemas linked to a database sync). |
create_schema_from_sample Create schema from sample
Generate and auto-save a schema from reviewed samples, returning schema_id, schema content and record links. Supply entity_samples (or samples_csv), sample_record_id, or both; explicit samples override stored JSON while attachment inheritance is preserved. Samples must describe one entity type in one language. Generation combines their fields and annotates relationships; it does not redesign the approved structure. Resolve consequential modeling choices and whether to generate semantic IDs before calling; semantic IDs need an organization embedding model and add cost. Requires editor; synchron…
| Parameter | Type | Description |
|---|---|---|
attachment_ids | UUIDs used as source context and persisted for regeneration. With sample_record_id, omit to inherit its linked attachments; pass [] to deliberately use none, or a non-empty list to override. | |
entity_samples | 1..20 reviewed instances of one entity type. Required without sample_record_id. Explicit samples override stored JSON while keeping attachment inheritance. Fields are unioned; missing/null observation… | |
generate_semantic_ids | boolean | Add semantic IDs to eligible keyed objects. Requires an organization embedding model and adds resolution cost. Recommend for reusable identities without stable machine keys; obtain agreement before en… |
language | Language of schema type names/descriptions and annotations; defaults to the sample-key language. Sample property names are not translated. Separate from enrichment output languages. | |
model | string | Model composite key; leave it on auto (the default). auto is YOUR model, or with use_platform_models=true the organization's best model for this task from its benchmark scores (quality/speed/cost weig… |
reasoning_effort | Thinking (reasoning) opt-in: low, medium or high; omitted = off. On the platform, auto then picks only a model whose reasoning the platform can pilot, and the effort is translated per provider. On YOU… | |
sample_record_id | UUID of a successful sample_generation record. Its stored sample(s) are used when entity_samples is omitted, and its linked attachments are inherited when attachment_ids is omitted. | |
samples_csv | Samples as CSV text instead of entity_samples (never both): the first row is ALWAYS the header, each data row one sample. Delimiter ',', ';' or tab; headers become identifier keys ('Author Name' -> au… | |
timeout_seconds | integer | Wall-clock cap; returns a timeout error past this. |
use_platform_models | boolean | false (default): every LLM call of this job runs on YOUR model — the job parks each call as a pending request you answer with answer_llm_request; no credits are consumed. Attachments are no reason t… |
save_schema Save schema
Save a directly authored schema and return its ID and link. Mostly for a document that starts from a schema Entity Enricher generated — read with get_schema, revised, saved as a new schema or variant — or one the user already holds (an import). Not for creating a schema from scratch: to derive one from samples or data, call create_schema_from_sample instead of writing the document yourself. Its staged steps judge one question at a time (which nested objects are entities, what identifies each, expertise domains, flags, closed vocabularies), the code keeps only types that hold for every obse…
| Parameter | Type | Description |
|---|---|---|
name * | string | |
schema_content * | object | Full schema document: title, type=object, properties and optional $defs/x-* sections. See enricher://docs/schema-reference for a minimal example. |
is_pinned | boolean | Pin it to the top of listings. |
tags | Optional tags. |
update_schema Update schema
Edit a saved schema's metadata or replace its full schema_content without an LLM call. Requires editor. Only supplied values change. For one property, prefer update_schema_property, add_schema_property or move_schema_property. Replacements must use GeneratedJsonSchema; unknown keywords are dropped, not rejected, and reported in ignored_keywords / applied_repairs. On database-linked schemas this edits the working copy: neutral edits propagate automatically; structural edits take effect after publish_schema. Returns the publish_state the edit left, the repairs and the link — not the document (…
| Parameter | Type | Description |
|---|---|---|
schema_id * | string | UUID of the schema to update. |
ambiguity_check_enabled | Enable/disable the ambiguity check for this schema — the pass that flags properties whose name admits more than one meaning (gates analyze_schema and the generation post-pass). | |
is_pinned | Pin or unpin. | |
key_language | Pre-set the key language for multilingual database keys ahead of a database link (ISO 639-1). Settable only while the schema has no linked database and no entity state; locked afterwards. | |
name | New name (must be unique). | |
schema_content | Full replacement schema document, following get_schema.schema_content. See enricher://docs/schema-reference. | |
tags | Replacement tag list. |
get_schema_part Get schema part
Read only the schema fragment needed for an edit. Omit path for the root/type index; use '$defs.X' or '$enums.X' for a definition, an object path for its subtree, or a leaf path for its property card and relations. Dot-separated paths use '[]' for array items. The response identifies shared definition usage, identity participation, database flags and whether entity state or linked databases exist. Editing a $defs property affects every usage site. Reads the working copy; no LLM call. Path examples: enricher://docs/schema-reference.
| Parameter | Type | Description |
|---|---|---|
schema_id * | string | UUID of the saved schema. |
path | Omit for the index; else a property/object path or '$defs.X'/'$enums.X'. |
get_enum_candidates Get enum candidates
List observed values outside each open enum's current vocabulary, with counts from recent enrichment records. No LLM call. Use the report to propose admitted members or rejected_values, or close a vocabulary only when it is exhaustive. This read does not edit the enum. An open enum allows other values; a closed one constrains output to its members. Named enums can be read with get_schema_part and changed through update_schema. See enricher://docs/schema-reference.
| Parameter | Type | Description |
|---|---|---|
schema_id * | string | UUID of the saved schema. |
update_schema_property Update schema property
Edit or remove one property by path without replacing the full schema. Requires editor; no LLM call. Only supplied fields change; null clears an entry in flags. Server validation rejects or normalizes invalid combinations and reports applied_repairs. Editing inside $defs affects every usage site. Removing an identity-source member is refused until its identity is recomposed. Renames preserve identity references and record migration intent. Database-linked schemas remain working-copy edits until publish_schema; inspect migration_grade. For additions or relocation use add_schema_property or move…
| Parameter | Type | Description |
|---|---|---|
path * | string | Property path, e.g. 'ceremonies[].ceremony_type'. |
schema_id * | string | UUID of the saved schema. |
description | ||
examples | ||
flags | Flag updates (null clears): expertise, preserve, multilingual, language_discriminator, identifying, nullable, format, pattern, semantic_id, judge_floor, semantic_concept_type, semantic_embedding_model… | |
new_name | Rename the property. | |
ref | '#/$defs/X' or '#/$enums/X'; clears type. | |
remove | boolean | Delete the property instead. |
type | New JSON type (string/number/integer/boolean/array/object); clears $ref. |
add_schema_property Add schema property
Add a property under the root (parent_path=''), an object path or '$defs.X'. Accepts a scalar, nested object or reference to an existing $defs entity or $enums vocabulary. Requires editor; no LLM call. Omitted nullable means required at enrichment. Adding inside $defs affects every usage site. The same validation and working-copy/publication rules as update_schema_property apply. Read the container with get_schema_part first. Property format: enricher://docs/schema-reference.
| Parameter | Type | Description |
|---|---|---|
definition * | object | {type|ref, description?, examples?, nullable?, flags?, properties?} — 'properties' nests the same shape per child for an inline object. |
name * | string | New property name (letters, digits, underscores). |
schema_id * | string | UUID of the saved schema. |
parent_path | string | '' = root, or an object path / '$defs.X'. |
move_schema_property Move schema property
Move one property into the root, an object path or '$defs.X', preserving its flags and expertise. Requires editor; no LLM call. Moving into a definition changes every usage site. An identity composition naming the property is re-spelled automatically when the destination stays within the same 1-1 closure (identity_rebound reports it); the move is refused when it would take the key out of that closure or leave a semantic ID with no identity material, and on collisions or recursive containment. Read source and destination with get_schema_part first. Structural changes on database-linked schemas…
| Parameter | Type | Description |
|---|---|---|
path * | string | Property path, e.g. 'ceremonies[].ceremony_type'. |
schema_id * | string | UUID of the saved schema. |
new_parent_path | string | '' = root, or an object path / '$defs.X'. |
resolve_unify_proposal Resolve unify proposal
Resolve one pending entity-type unification proposal from get_schema. action='accept' maps the proposed site onto the winning $def; field_map overrides proposed correspondences. Unmapped fields are retained as nullable; other usages of the winning definition are affected. action='dismiss' keeps the sites separate. Defaults to dry_run=true: inspect the returned schema_content and notes, then persist with dry_run=false only after approval of the change. Requires editor; no LLM call. Database-linked structural edits still require publish_schema. Modeling consequences: enricher://docs/schema-refer…
| Parameter | Type | Description |
|---|---|---|
action * | string | 'accept' or 'dismiss'. |
proposal_id * | string | Proposal id from x-entityMap.proposals (get_schema). |
schema_id * | string | UUID of the saved schema. |
dry_run | boolean | Report the rewrite without persisting it (the default). |
field_map | accept only: override of the loser→winner field correspondence. |
nest_schema_region Materialize entity region
Materialize an entity region from get_schema's x-entityMap. Ordinary flat members (e.g. product_id, product_name on an order line) move into a new object named after the region, regions hanging from it move along (nest them in turn inside the new object), pairing facts stay on the host, and the moved names shed the region's tokens (product_name → name) unless strip_prefix=false. A pairing region nests the same way: its pair facts gather into a pairing object with the entity hanging from it (series_volume → series_engagement.volume beside book_series). Compact scalar occurrences (e.g. manuf…
| Parameter | Type | Description |
|---|---|---|
region_id * | string | Entity region id from x-entityMap.regions (get_schema). |
schema_id * | string | UUID of the saved schema. |
dry_run | boolean | Report the rewrite without persisting it (the default). |
host_path | string | Container holding the flat members ('' = root, object path, 'path[]', '$defs.X'). |
strip_prefix | boolean | Drop the region's name tokens from the moved field names. |
publish_schema Publish schema
Publish a database-linked schema's working copy as the contract used by enrichment and replicas. A newly linked schema sends nothing until first publication; unlinked drafts cannot be published. Requires editor; no LLM call. Call validate_only=true to inspect the diff, blockers, warnings and per-database migration_sql. Transform migrations, and columns a linked database narrows (migration_sql[].physical_changes), require user-approved confirm_transforms=true; cross-schema conflicts remain blockers. key_language may be required if classification revealed a multilingual key. Returns publication…
| Parameter | Type | Description |
|---|---|---|
schema_id * | string | UUID of the schema to publish. |
confirm_transforms | boolean | Acknowledge a transform migration (re-key, type change, or a column/table rename) run against the replicas' own data, or a column a linked database narrows (migration_sql[].physical_changes, which can… |
key_language | ISO 639-1 language for multilingual identity tokens. Normally adopted from the database lock. Supply when key_language_required requests a choice; review the suggested language with the user. Shared b… | |
validate_only | boolean | Dry-run: return the diff + blockers without publishing. |
delete_schema Delete schema
Soft-delete a saved schema by UUID. Requires editor; no LLM call. Restoration and permanent deletion are available in the web app, not through this tool. Returns the deletion outcome.
| Parameter | Type | Description |
|---|---|---|
schema_id * | string | UUID of the schema to delete. |
analyze_sample Analyze sample
Analyze sample property ambiguity and relationship identity scoping before schema generation. Requires editor; billed analysis persists a record but does not modify the sample. Returns findings with competing interpretations and suggested_names, plus identity_scoping for sites mixing an entity's own facts with facts about its parent relationship. Names are judged in their parent context, including missing units, periods or ranges. Apply only approved corrections before create_schema_from_sample. Optional: generate_sample already checks its initial sample. How to interpret findings: enricher://…
| Parameter | Type | Description |
|---|---|---|
sample_json * | object | The sample entity object to analyze. |
model | string | Model composite key. 'auto' (default) lets the server pick the org's default schema-generation model. |
protected_fields | Leaf names you own (still flagged, but no rename is proposed for them). |
analyze_schema Analyze schema
Analyze a saved schema's property ambiguity and relationship identity scoping, writing annotations to the schema. Requires editor; billed. Incremental by default; force=true rechecks all sites. Returns findings, suggested descriptions, identity-scoping annotations and pending unification proposals; it does not apply suggested structural changes. Fails with ambiguity_check_disabled if the feature is off. Use update_schema_property for approved descriptions or renames; review structural changes and publish them when linked. Interpretation and modeling guidance: enricher://docs/schema-reference.
| Parameter | Type | Description |
|---|---|---|
schema_id * | string | UUID of the saved schema. |
force | boolean | Re-analyze every property, not just unannotated ones. |
model | string | Model composite key. 'auto' (default) runs the schema's own model (set at generation or in the schema editor), else the org's default schema-generation model. |
list_semantic_concepts List semantic concepts
Browse organization concepts with aliases, usage counts and type/model facets. view='review' returns pairs escalated by the identity judge, not merely similar pairs. Returns a filtered page; use get_semantic_concept for details and neighbors. Similarities are comparable only within one concept_type/embedding_model slice. No LLM call. Vocabulary review and curation: enricher://docs/semantic-ids.
| Parameter | Type | Description |
|---|---|---|
concept_types | Restrict to these concept types (empty/None = every type). | |
limit | integer | |
min_ref_count | Only concepts used by at least this many records. | |
offset | integer | |
search | Substring match against concept texts. | |
sort_by | string | ref_count | text | concept_type | created_at |
sort_order | string | |
view | string | 'concepts' = filtered concept page; 'review' = pairs the identity judge left for a person: escalated (unsure), found duplicated while answering another question, or separated at a similarity high enou… |
get_semantic_concept Get semantic concept
Read one concept's aliases, identity source keys, linked records and nearest neighbors within its own type/model slice. Record links are capped; records_truncated signals omitted links. neighbors_limit=0 skips neighbors. Use returned alias IDs with update_concept_alias and similarities to assess a proposed merge. No LLM call. Never compare similarities across embedding spaces or concept types. See enricher://docs/semantic-ids.
| Parameter | Type | Description |
|---|---|---|
concept_id * | string | The concept's semantic_id (UUID). |
neighbors_limit | integer |
probe_semantic_concept Probe semantic concept
Preview identity resolution without adding a concept or increasing its usage. Requires editor; uncached resolution may call embeddings and the identity judge. Returns exact_hit, match or no_match, the matched concept and neighbors. Probe before adding; a matched incumbent may already represent the intended entity. embedding_model can select the space for a new concept type, not change an existing type's space. Inspect judge evidence as well as similarity. See enricher://docs/semantic-ids.
| Parameter | Type | Description |
|---|---|---|
concept_type * | string | Concept type (slice) to resolve against. |
text * | string | The identity text to resolve. |
embedding_model | Composite key (provider::model) to embed a NEW concept type under. | |
judge_floor | Similarity at or above which a candidate is put to the identity judge. Omit to use the organization default (Settings → Organization). | |
neighbors | integer |
add_semantic_concept Add semantic concept
Add an identity concept at zero usage, or add text as an alias using alias_of. Requires editor; resolution may incur embedding/judge cost. Probe first; if the text already resolves to an incumbent, offer that concept instead of blindly retrying. Aliases resolving to another concept are refused. embedding_model selects a new type's space only. Returns concept details and link; manage existing aliases with update_concept_alias. See enricher://docs/semantic-ids.
| Parameter | Type | Description |
|---|---|---|
concept_type * | string | Concept type the text belongs to. |
text * | string | The identity text to add. |
alias_of | semantic_id of the concept this text is a surface form of; omit to add a standalone concept. | |
embedding_model | Composite key (provider::model) to embed a NEW concept type under. | |
judge_floor | Similarity at or above which a candidate is put to the identity judge. Omit to use the organization default (Settings → Organization). |
update_concept_alias Update concept surface form
Remove or promote a concept alias using alias IDs from get_semantic_concept. Requires editor; no LLM call. action='remove' stops that surface form resolving to this concept; removing the last alias is refused. action='set_canonical' changes its displayed form. To add an alias use add_semantic_concept(alias_of=...). Returns the outcome. See enricher://docs/semantic-ids.
| Parameter | Type | Description |
|---|---|---|
action * | string | 'remove' prunes the surface form; 'set_canonical' promotes it. |
alias_id * | string | The surface-form row's own id (UUID). |
concept_id * | string | The concept's semantic_id (UUID). |
import_semantic_concepts Import semantic concepts
Resolve 1..1000 texts against one concept type. mint=false returns exact/matched/would_mint outcomes without minting; mint=true creates misses and requires owner (reporting requires editor). Resolution can call embeddings and the identity judge even in report mode. Review would_mint rows before authorizing creation. A new type may be initialized with embedding_model; existing types cannot switch spaces through import. Returns per-text outcomes. See enricher://docs/semantic-ids.
| Parameter | Type | Description |
|---|---|---|
concept_type * | string | Concept type (slice) to resolve against. |
texts * | array | Identity texts to resolve (1..1000). |
embedding_model | Composite key (provider::model) seeding a NEW concept type's slice — an import may open the type it resolves into. Refused when that type's vocabulary already lives in another model. | |
judge_floor | Similarity at or above which a candidate is put to the identity judge. Omit to use the organization default (Settings → Organization). | |
mint | boolean | False = report only; True = create the unmatched rows (owner role). |
merge_semantic_concepts Merge semantic concepts
Merge a loser concept into a winner. Defaults to impact_only=true: inspect counts and affected replicas before obtaining approval to execute. impact_only=false requires owner and rewrites aliases, entity identities and referencing payloads, queuing convergence to linked replicas. No LLM call. Similarity alone does not establish identity; inspect get_semantic_concept and the judge review evidence first. Returns impact or merge results. See enricher://docs/semantic-ids.
| Parameter | Type | Description |
|---|---|---|
loser_id * | string | semantic_id of the concept folded into the winner. |
winner_id * | string | semantic_id of the concept that survives. |
impact_only | boolean | True = report the merge's blast radius only; False = merge (owner role). |
delete_semantic_concepts Delete semantic concepts
Delete concepts selected by ids, concept_types or unused_only. Defaults to impact_only=true: review affected records, schemas and replicas before obtaining approval. Execution requires editor; clearing whole types requires owner. Deletion breaks convergence with IDs already stored in replicas; future resolution may mint new IDs. An unused-only deletion still removes that vocabulary. No LLM call. Returns impact counts or deletion results. See enricher://docs/semantic-ids.
| Parameter | Type | Description |
|---|---|---|
concept_types | Scope to these concept types; without ids and unused_only this clears the whole types (owner role). | |
ids | Explicit concept semantic_ids to delete. | |
impact_only | boolean | True = report the blast radius only; False = delete. |
unused_only | boolean | Only concepts no record references (usage 0). |
migrate_semantic_embeddings Migrate semantic embedding model
Inspect or migrate the organization's concept embedding space. action='status' is read-only; preview, start and cancel require owner. preview estimates cost and reports potential collisions; review them before authorizing start. target_model is required for preview/start; source_model and concept_types scope the move. Starting launches billed background re-embedding while enrichment continues, then switches the selected slices after coverage is complete. Cancel marks the transition cancelled; it does not guarantee interruption or rollback of in-flight work. Returns migration status or preview.…
| Parameter | Type | Description |
|---|---|---|
action * | string | status | preview | start | cancel |
concept_types | Restrict the move to these concept types; empty = the whole space. | |
source_model | Embedding space to move; omitted = the org's current default. | |
target_model | Composite key (provider::model) to move to. Required for preview/start. |
ask_support Ask Rupert (product support)
Ask Rupert, Entity Enricher's product-support assistant, a question about the application itself: how a feature, a tool or a setting works, what an error_code, a limit, a status or a warning means, why a result or a schema looks the way it does, which plan a feature needs. Use it when the guides (enricher://docs) do not answer, before guessing or telling the user something is impossible. Put the context Rupert needs in the message: the tool called, the error_code or message returned, the schema, job or record concerned (ids are fine, never secrets). Pass conversation_id to continue the thread…
| Parameter | Type | Description |
|---|---|---|
message * | string | The question, with its context, in the user's language (up to 4000 characters). May be empty when an attachment carries the question. |
attachment_ids | Up to 5 uploaded attachments to show Rupert (at most 3 images, 2 MB each; documents go as their extracted text). | |
conversation_id | The thread to continue — the conversation_id a previous ask_support returned — so Rupert keeps the context of the exchange. Omit it to open a new thread on a new topic. | |
locale | UI locale tag the answer should be written in (en, fr, de, es, pt, it, nl, ja, zh-CN, ko, ar, hi, ru). Defaults to English. |
get_support_conversation Read a support thread
Read one of your support threads with every turn: your questions (role user), Rupert's answers (assistant) and the support team's follow-ups (admin, with author_name). Opening it marks it read for you, which clears it from threads_with_unread_admin_reply. Continue the thread with ask_support(conversation_id=...). Not found unless the thread is yours (a system admin reads any thread). Guide: enricher://docs/support
| Parameter | Type | Description |
|---|---|---|
conversation_id * | string | The thread's id, as ask_support returned it. |
list_support_conversations List support threads
Your support threads, newest activity first, with message_count and unread_for_user (a support team follow-up you have not read). Use it to find the conversation_id of an earlier thread to continue or read; a thread you opened in another session is listed too. Guide: enricher://docs/support