five-on-it / apps/mcp/src/format / need
Function: need()
need<
T>(answer,doing):T
Defined in: apps/mcp/src/format.ts:114
The body of an answer the API gave; throws, as the tool's error, what it said when it refused.
Type Parameters
T
T
Parameters
answer
Answer<T>
doing
string
Returns
T