iar_documentation_search
Search the IAR user documentation (docs.iar.com): IAR Embedded Workbench for Arm, RISC-V, RH850, RL78 and RX (IDE, C/C++ compiler, assembler, linker, C-SPY debugger, C-STAT), IAR debug probes and cloud licensing. Set product to ewarm, ewriscv, ewrh850, ewrl78, ewrx, probes or lmsc. Returns page filenames and excerpts.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "iar_documentation_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Search query (e.g., 'ILINK config file', '#pragma location', 'C-SPY breakpoints'). Optional if 'keywords' is provided. | |
| filter | No | Optional: document type filter. Leave unset (default 'all') for IAR documentation. | |
| intent | No | Optional: Prioritizes (not filters) results by type. One of 'api', 'tutorial', 'guide', 'concept', 'example', 'migration'. 'api'=class reference, 'tutorial'=how-to guides, 'guide'=overviews, 'concept'=explanations, 'example'=code samples, 'migration'=porting guides. | |
| module | No | Optional: limit the search to one manual (e.g., 'iarccdevelopment', 'cspydebugging', 'cstatstaticanalysis', 'iarassembler', 'ideprojectmanagementandbuilding', 'migrationinformation'). | |
| product | No | Optional: one of 'ewarm' (Arm), 'ewriscv' (RISC-V), 'ewrh850' (RH850), 'ewrl78' (RL78), 'ewrx' (RX), 'probes' (debug probes), 'lmsc' (cloud licensing). Compiler options and pragmas differ per architecture, so always set it. | |
| version | No | Optional: product version to search (e.g., '10.10' for ewarm). Defaults to the latest available version. | |
| keywords | No | Optional: array of keywords to search for. Results match ANY keyword. Example: ["pragma", "location", "absolute"]. Alternative to 'query' for multi-term matching. | |
| max_results | No | Optional: Maximum number of results to return (1-10). Default is 3. |