intelligence_extract_entities
intelligence_extract_entities
Section titled “intelligence_extract_entities”Category: intelligence
Pull structured entities (decisions, action items, dates, mentions, URLs, code) from recent Discord messages using the client’s LLM.
When to use
Section titled “When to use”post-meeting recap, audit log of decisions, weekly digest builder.
When NOT to use
Section titled “When NOT to use”| Field | Type | Required | Description |
|---|---|---|---|
channel_id | string | yes | Channel to scan |
limit | integer | yes | Messages to scan (5-100, default 50) |
entity_types | array | yes | Entity types to extract |
Returns
Section titled “Returns”\{entities:[\{type, value, source_message_id?, context?\}], count, sampling_used\}.
Output schema
Section titled “Output schema”| Field | Type | Required | Description |
|---|---|---|---|
entities | array | yes | |
count | number | yes | |
sampling_used | boolean | yes |
Annotations
Section titled “Annotations”| Property | Value |
|---|---|
| Read-only | yes |
| Destructive | no |
| Idempotent | yes |
| Open-world | yes |
| Confirmation required | no |
Source
Section titled “Source”packages/mcp-core/src/tools/intelligence/extract_entities.ts