comfy_search_history
Search past workflow prompts by node type to locate and reuse previous configurations. Query accepts a node class_type term and returns matching history entries as JSON.
Instructions
Search history for prompts containing specific node types.
Args: query: Search term (case-insensitive substring match on node class_type) limit: Maximum number of matches to return (default 20)
Returns: JSON with matching history entries
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": {
"query": "<query>"
},
"name": "comfy_search_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |