Foundry.LlmToolCall¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
|
|
|
|
|
|
Properties¶
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r |
|||
r |
|||
r |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent_instance |
r |
Class Details¶
- class Foundry.LlmToolCall(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
- confirm()¶
- Returns:
a [class`Dex`.Future] that resolves to a [class`Foundry`.LlmMessage] or rejects with error.
- Return type:
Confirms that the tool call is authorized and performs it.
The result should be a [class`Foundry`.LlmMessage] that may be sent back to the model to continue the conversation.
- deny()¶
- Returns:
a [class`Dex`.Future] that resolves to a [class`Foundry`.LlmMessage] or rejects with error.
- Return type:
Denies that the tool call is authorized and returns a message of failure to be sent back to the model.
- do_confirm() virtual¶
- Returns:
a [class`Dex`.Future] that resolves to a [class`Foundry`.LlmMessage] or rejects with error.
- Return type:
Confirms that the tool call is authorized and performs it.
The result should be a [class`Foundry`.LlmMessage] that may be sent back to the model to continue the conversation.
- do_deny() virtual¶
- Returns:
a [class`Dex`.Future] that resolves to a [class`Foundry`.LlmMessage] or rejects with error.
- Return type:
Denies that the tool call is authorized and returns a message of failure to be sent back to the model.
Property Details¶
- Foundry.LlmToolCall.props.is_callable¶