Particles

v1.263.7
org.linkedparticles/particles Checked 4 days ago Published 17 days ago

An append-only ledger of sourced, dated, confidence-scored claims your agent cites and you audit

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

query

Run a tag-aware semantic query against the particle store. Args: question: Natural-language question. Optional since: omit it and set structural claim filters (or an aggregate / the predicate listing) for the deterministic modes — no embedding, no LLM call. tags: Subtree-expanded tag filters, repeatable. subject_id: Restrict to particles about this subject. min_confidence: Minimum confidence value (0.0–1.0). top_k: Number of particles to retrieve, which the answer reads (1 to 200). Default: the server's ``quer…

ParameterTypeDescription
all_projectsboolean
as_of
audiencestring
countboolean
detail
during_end
during_start
grounded
group_by
hits
include_refused_candidatesboolean
list_predicatesboolean
min_confidencenumber
min_effective_confidence
object_contains
object_eq
object_gt
object_lt
on
predicate
question
subject_id
summary
tags
top_k

particle_show

Show one particle with its provenance, subjects, and tags. Args: particle_id: Full UUID or unambiguous prefix (≥ 8 chars). Returns: Dict with ``particle`` (Pydantic JSON), ``subjects`` (list of ``{id, canonical_name}``), and ``provenance`` (list of ``{type, corpus_entry_id, uri_r, source_type, snapshot_id}``). When the source now states the claim in other words, ``restated_as`` holds that wording and its snapshot; the claim's ``content`` keeps its first wording. Raises if the prefix matches zero or multiple particles.…

ParameterTypeDescription
particle_id *string

particles_list

List particles, optionally filtered by status or subject. Lightweight alternative to ``query`` and ``lint`` when an agent just needs the IDs of particles in a particular state — e.g. the open INCONSISTENCY queue, RETRACTED particles for cleanup, or every ACTIVE particle linked to a subject. Embeddings are never included; responses are designed to stay within MCP tool-result size caps. Args: status: Optional status filter — one of ``ACTIVE``, ``SUPERSEDED``, ``RETRACTED``, ``PROVENANCE_STALE``, ``INCONSISTENCY``. Unset returns…

ParameterTypeDescription
all_projectsboolean
limitinteger
offsetinteger
status
subject_id

subjects_list

List subjects in the knowledge graph (alphabetical by canonical_name). Paginated to keep responses within an MCP-client-friendly size — the full subject set can easily exceed per-tool-result token caps. Args: limit: Maximum subjects to return (default 50). offset: Number of subjects to skip before returning results (default 0). Combine with ``limit`` to page through the full set. order: ``"name"`` (alphabetical, default) or ``"degree"`` — most-connected first, by descending count of ACTIVE particles linke…

ParameterTypeDescription
limitinteger
offsetinteger
orderstring

subjects_show

Show one subject with the particle IDs linked to it. Args: subject_id: A full UUID, an unambiguous prefix (≥ 8 chars), or a name or alias, matched case-insensitively and exactly. A reference that matches more than one subject (a prefix shared by several IDs, a name two subjects share, or a string that is both a prefix and a name) raises with the candidates named. A remote engine resolves IDs and prefixes only. particle_id_limit: Maximum particle IDs to include in ``particle_ids`` (default 100). For h…

ParameterTypeDescription
subject_id *string
particle_id_limitinteger

list_taxonomies

List every taxonomy + its full tag tree. Args: limit: Maximum taxonomies to return (default 50). Each taxonomy embeds its full tag tree, so even a handful of large taxonomies can push the response past the per-tool-result token cap. offset: Number of taxonomies to skip before returning results (default 0). Results are ordered by name so pagination is stable.

ParameterTypeDescription
limitinteger
offsetinteger

list_corpus_entries

List recent corpus entries (most-recently-deposited first). Args: limit: Maximum entries to return (default 50). source_type: Optional filter (e.g. ``"WIKIDATA_API"``).

ParameterTypeDescription
limitinteger
source_type

lint

Run structural lint checks over the particle store (no fixes, no LLM). The MCP surface is read-only, so ``--fix`` is forced off and the LLM-assisted semantic checks are disabled — agents read findings and surface them to the operator, who decides whether to act. Args: category: Optional ``finding_type`` filter (e.g. ``STALENESS``, ``PHANTOM_SUBJECT``, ``WIKIDATA_LINK_MISMATCH``). When set, only findings of that kind are returned; ``summary`` is always the full counts dict and reflects every category actually emitted by…

ParameterTypeDescription
category
limitinteger
summary_onlyboolean

quality_report

Return the extraction-quality dashboard snapshot. Particle counts by status / calibration_source / schema_version, plus the structural-mix percentages, the store's recorded LLM spend (``llm_spend``), and the curation queue's precision over the default window (``curation_precision``: per card kind, the cards acted on, dismissed, snoozed and untouched, with the denominator). Computed entirely from live DB queries — no LLM involvement.

events_list

List operator events, newest first, optionally filtered. Args: particle: Only events touching this particle id. subject: Only events touching this subject id. corpus_entry: Only events touching this corpus entry id. (At most one of ``particle`` / ``subject`` / ``corpus_entry``.) event_type: Only events of this type, e.g. ``SOURCE_RETRACTED``, ``SUBJECTS_SPLIT``, ``TRUST_CHANGED``, ``REVIEW_RESOLVED``. limit: Maximum events to return (default 50).

ParameterTypeDescription
corpus_entry
event_type
limitinteger
particle
subject

event_show

Show one operator event in full — header, refs, and payload. Args: event_id: The event's id.

ParameterTypeDescription
event_id *string

graph_view

Render one scoped epistemic subgraph of the particle store. Scope is mandatory — pass exactly one of ``subject_id`` / ``query`` / ``inconsistency_id`` / ``manifest``+``section`` (a whole-store render does not exist; the anti-hairball invariant). Every epistemic quantity in the result (effective confidence, contested badges, as-of visibility, utility evidence) is computed at render time by the engine and never stored. Args: subject_id: Neighbourhood scope — this Subject, its particles, and subjects reachable within ``hops`` via multi-subject…

ParameterTypeDescription
all_projectsboolean
as_of
historyboolean
hopsinteger
inconsistency_id
manifest
max_nodes
query
section
storestring
subject_id