Interface: KabooRequestRenderProps\<T>¶
Defined in: src/requests/useRequestTool.tsx:13
What a request panel receives.
Type Parameters¶
T¶
T
Properties¶
answer¶
answer: (
value) =>void
Defined in: src/requests/useRequestTool.tsx:23
Answer the request. Objects are sent as JSON.
Parameters¶
value¶
unknown
Returns¶
void
args¶
args:
T
Defined in: src/requests/useRequestTool.tsx:17
The call's arguments, checked against the tool's schema.
result?¶
optionalresult?:string
Defined in: src/requests/useRequestTool.tsx:21
The answer sent, once there is one.
skip¶
skip: () =>
void
Defined in: src/requests/useRequestTool.tsx:25
Decline to answer.
Returns¶
void
status¶
status:
KabooRequestStatus
Defined in: src/requests/useRequestTool.tsx:19
waiting for the person, sent once answered, complete once the agent has the answer.
toolCallId¶
toolCallId:
string
Defined in: src/requests/useRequestTool.tsx:15
The call's id.