Get entity context
get_entity_contextRead why Twelfth currently recommends what it does for a named product or supplier: the rationale, supporting facts, rule meaning and provenance. Use it for why-this-quantity or why-this-price questions. It reads current recommendations only and returns no raw measures: for those use get_entity_profile, and for past decisions use recall_decisions.
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": {
"entity_name": "<entity_name>"
},
"name": "get_entity_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Optional, analytics only: why you are calling this, in a few words; name roles, never people or figures. | |
| entity_name | Yes | Entity name exactly as the user wrote it. | |
| entity_type | No | Whether entity_name is a supplier or a product; omit to match either. | |
| conversation_id | No | Optional, analytics only: one opaque id reused on every call in this conversation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | Matching lines with their recommendation rationale, or catalogue rows when the snapshot had none. | |
| scope | Yes | ||
| truncated | Yes | True when more rows matched than were returned. | |
| evidence_id | Yes | Handle for these rows within this call's results. Not a citation. | |
| returned_rows | Yes | Rows in this response. | |
| source_evidence_ids | Yes | Workspace evidence IDs backing these rows. Empty when the source carries no evidence records. | |
| total_matching_rows | Yes | Rows that matched before any limit. |