ToolSearch
Interface: ToolSearch
Defined in: src/semantics/coverage/search/types.ts:121
WHAT ONE CALL OF THIS TOOL SEARCHES — declared once; the library composes each call's coverage from it and the arguments the call ran with.
Example
search: {
source: { what: 'the incident store', said: ['the incident store'] },
subject: { what: 'incidents', said: ['incident', 'incidents'] },
fixed: [{ name: 'status', value: 'open', said: ['open'] }],
arguments: [
{ name: 'service', role: 'population' },
{ name: 'window', role: 'period', whenOmitted: '2h' },
],
complete: 'within-arguments',
}Properties
arguments
readonlyarguments: readonlySearchArgument[]
Defined in: src/semantics/coverage/search/types.ts:125
complete?
readonlyoptionalcomplete?:"within-arguments"
Defined in: src/semantics/coverage/search/types.ts:131
The tool's statement that a call is complete for the population, filters and period in effect when no cap was reached and no page was open. Absent = never complete.
fixed?
readonlyoptionalfixed?: readonlySearchFixed[]
Defined in: src/semantics/coverage/search/types.ts:124
gaps?
readonlyoptionalgaps?: readonlySearchGap[]
Defined in: src/semantics/coverage/search/types.ts:132
limits?
readonlyoptionallimits?:SearchLimits
Defined in: src/semantics/coverage/search/types.ts:133
ranking?
readonlyoptionalranking?:"approximate"
Defined in: src/semantics/coverage/search/types.ts:139
'approximate' — a vector, top-k or fuzzy ranking: the rows are the ones
ranked nearest, never every row that fits, so every call carries a
ranking gap on completeness and complete is refused beside it.
source
readonlysource:SearchWords
Defined in: src/semantics/coverage/search/types.ts:122
subject
readonlysubject:SearchWords
Defined in: src/semantics/coverage/search/types.ts:123
