grep_artifacts
Locate saved work by searching artifact content with a keyword, enabling quick access to prior analysis and notes.
Instructions
Search artifact content by keyword. Find saved work by topic or term.
AUTOMATIC TRIGGERS - Call this when:
Looking for artifacts mentioning a specific topic
Need to find prior analysis on a subject
Searching across all saved work products in the session
PARAMETERS:
session_id: Session to search
pattern: Search term (use simple keywords)
agent_id: Your agent ID (must belong to the session)
created_by: Filter by creator agent (optional)
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": {
"session_id": "<session_id>",
"pattern": "<pattern>",
"agent_id": "<agent_id>"
},
"name": "grep_artifacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | ||
| agent_id | Yes | ||
| created_by | No | ||
| session_id | Yes |