MCP

query_by_filter_tool

query_by_filter_tool

Use query_by_filter_tool when the agent knows the entity type and wants deterministic filtering rather than ranked search.

#Signature

query_by_filter_tool(entity_type, filters=None, since=None, authored_by_me=False, has_attachments=False, limit=50, order_by="created_at") -> JSON string

#Notes

  • Message is the correct entity type for uploaded files and images
  • has_attachments=True only applies to Message