extract_pattern
Extract emails, URLs, or phone numbers from raw text blocks to harvest specific PII or links.
Instructions
[INSTRUCTIONS] Use this tool to harvest specific PII or links from raw text blocks.
Extracts all unique emails, URLs, or phone numbers from a large body of text.
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>",
"type": "<type>"
},
"name": "extract_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The raw input text. | |
| type | Yes | The pattern to extract: "email", "url", or "phone". |