Search suggestions
af_autocompleteFetch autocomplete suggestions for job listing searches to find correct terms before querying af_search_jobs, returning suggestions with occurrence counts.
Instructions
Fetch autocomplete suggestions for job listing searches.
Use this to find correct search terms before calling af_search_jobs.
Args:
q (string): Search term to complete, minimum 2 characters. Example: "nurs", "java dev"
contextual_q (string, optional): Existing search query that provides contextual suggestions
Returns: List of suggested search terms with occurrence counts.
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": {
"q": "<q>"
},
"name": "af_autocomplete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | The search term to autocomplete | |
| contextual_q | No | Existing search query for context |