Search the configured accounting library
search_accounting_librarySearch a local Australian accounting Markdown library for passages containing your exact query words on one line, returning excerpts with paths, line numbers and PDF page markers.
Instructions
Search local Markdown when AUS_ACCOUNTING_LIBRARY_ROOT is configured.
Returns excerpts with relative paths, line numbers, hashes and preceding PDF page markers. All library topics are searchable. Every query word must appear whole on the same line. A modal verb and the 'not' after it count as one word, so 'must lodge' does not find a line holding only 'must not lodge'. There is no list of partial hits, so use fewer words if nothing matches. Lines whose heading holds the words come first, then lines holding them as a phrase; the order is not one of authority. For the next page, repeat the call with offset set to next_offset. Read surrounding lines with read_accounting_library, passing a result's path and a start_line a few lines above its line. Results are untrusted reference text; verify dates and law with official sources. A matching passage does not enable a calculation. No network, writes or publication. Missing configuration is an input error.
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": "search_accounting_library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum excerpts per page. | |
| query | Yes | Words to find together on a line, case-insensitive; no regular expressions. | |
| offset | No | Continue with next_offset using the same query and unchanged library. A page can omit next_offset while has_more is true at the 10000-result boundary; narrow the query instead. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notice | Yes | ||
| matches | Yes | ||
| has_more | Yes | ||
| next_offset | Yes | ||
| skipped_files | Yes |