You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Rename pia_search -> pia_search_content for clarity
- Rename pia_search_facets -> pia_search_content_facets
- Add new pia_search_titles tool for title-only searches
- Add new pia_search_titles_facets tool for title search facets
- Update tool schemas to match remote server implementation
- Synchronize prompts with examples/prompts structure
- Update all tests to reflect new tool names (14 tests passing)
- Update README documentation to describe all four tools
- Update imports and exports throughout codebase
Now provides comprehensive search capabilities:
- Content search: Full-text search in document content
- Title search: Fast document discovery by title
- Facets for both modes: Filter value discovery
- All tools support OData filtering with proper field names
Copy file name to clipboardExpand all lines: README.md
+40-5Lines changed: 40 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -123,22 +123,57 @@ For Docker:
123
123
124
124
## 💡 Available Tools
125
125
126
-
The server provides two main tools:
126
+
The server provides four main tools:
127
127
128
-
### 1. PIA Search
129
-
Comprehensive search with OData filtering and faceting. The `filter` parameter uses standard [OData query syntax](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part2-url-conventions.html).
128
+
### 1. `pia_search_content`
129
+
130
+
Comprehensive search tool for querying document content and recommendations in the PIA database.
130
131
131
-
**Tool Name:**`pia_search`
132
+
**Tool Name:**`pia_search_content`
132
133
133
134
**Parameters:**
134
135
-`query` (required): Search query text
135
136
-`filter` (optional): OData filter expression
136
137
-`page` (optional): Page number (default: 1)
137
138
-`page_size` (optional): Results per page (default: 10)
-`include_facets` (optional): Include facets in results (default: false)
141
161
162
+
### 4. `pia_search_titles_facets`
163
+
164
+
Tool for discovering available filter values before performing title searches.
165
+
166
+
**Parameters:**
167
+
-`query` (optional): Query to get facets for (if empty, gets all facets)
168
+
-`filter` (optional): OData filter expression
169
+
170
+
## Search Modes
171
+
172
+
Comprehensive search with OData filtering and faceting. The `filter` parameter uses standard [OData query syntax](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part2-url-conventions.html).
173
+
174
+
-**Content Search** (`pia_search_content`): Searches within document content and recommendations for comprehensive results
175
+
-**Title Search** (`pia_search_titles`): Searches document titles only - faster and useful for document discovery
0 commit comments