Extract entities
extract_entitiesExtract emails, URLs, hashtags, mentions, phone numbers, and numbers from free text. Returns de-duplicated items in order of first appearance.
Instructions
Pull structured items out of free text: email addresses, URLs, #hashtags, @mentions, phone numbers and standalone numbers. Results are de-duplicated and returned in the order they first appear.
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": {
"text": "<text>"
},
"name": "extract_entities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to scan. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | Yes | ||
| emails | Yes | ||
| numbers | Yes | ||
| hashtags | Yes | ||
| mentions | Yes | ||
| phone_numbers | Yes |