artifact.search
Search large artifacts as a stream to find text or regex matches without loading the full body into memory.
Instructions
Streamed search inside an artifact, so a multi-hundred-megabyte body is searchable without ever being fully loaded.
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": {
"artifact_id": "<artifact_id>",
"query": "<query>"
},
"name": "artifact.search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| is_regex | No | ||
| artifact_id | Yes | ||
| ignore_case | No | ||
| max_matches | No | ||
| context_lines | No |