find_text
Search DXF text, MTEXT, and block attributes for a substring to find part numbers or revision notes without knowing their block or layer.
Instructions
Search TEXT, MTEXT and block attributes for a substring, case-insensitively.
Useful for locating a part number or a revision note when you do not yet know which block or layer it lives on.
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": {
"path": "<path>",
"needle": "<needle>"
},
"name": "find_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| needle | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |