query_claims
Search claim statements and excerpts.
A domain keeps claims whose primary domain is that value or one of its
aliases, such as cs.LG for ai-ml. An exact multi-token phrase matches whole
tokens. A single ordinary token also matches its singular or plural.
When no stored claim holds every token, statement hits for each token come
before excerpt-only hits, a row with no content-term overlap is dropped,
and match_reason starts with no stored co-occurrence. An empty remainder stays empty.
K17, PDAC, NCC, IIT, and LLM match the full names in the alias map.
Hits are ordered by keyword overlap, then a domain match, then evidence
strength. That retrieval order stays ahead of the stored score.
match_reason records that the stored score is evidence_strength.
cross_domain also keeps
claims from other domains that carry the domain as a secondary tag.
When the query is one domain keyword and domain is omitted, claims in
that domain come first.
Use this when you have keywords or a domain and want the strongest matching claims.
Returns claim id, status, evidence strength, a shortened excerpt, match_reason,
source_url, doi, and paper_id when those are known, up to two supporting claims, and one
contradicting claim when one is stored. Each related claim carries that same compact pointer. unpublished is true for a private unpublished paper. Full provenance stays on get_evidence.
status_note on a consensus claim with no stored contradiction is: No stored contradiction; not independent multi-source consensus. When no independent supporting claim is present, the note also says: Single-source claim; not multi-source consensus.
evidence_note is: Extractor confidence in the claim statement, not study quality. A previously read source role is appended when one is known. When that role is absent, one statement cue appends a single Role line. A clear finding is not labeled method or background, a hedge is a limitation, and a statement with no cue has no Role line.
integrity_warning is set when the statement unit looks truncated relative to the excerpt, or the magnitude looks extreme relative to the excerpt. The statement and the excerpt are not rewritten.
Example: query_claims(query="transformer", domain="ai-ml", limit=5).
Example: query_claims(query="United States", domain="data-protection", limit=5).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "query_claims"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Page size. Example: 5. | |
| query | Yes | Text matched against the claim statement and its excerpt. Example: transformer. | |
| domain | No | Primary domain or an alias of it. Example: ai-ml. | |
| offset | No | Number of hits to skip. Example: 0. | |
| filters | No | Optional status, minimum evidence strength, and assertion type. Example: {"status": "consensus", "min_strength": 0.6}. | |
| cross_domain | No | Also return claims from other primary domains that carry this domain as a secondary tag. Default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| claims | Yes |