Additional tool input schemas
RegularToolCallInput
Bases: ToolCallInputBase
The state that tool calls can use values from.
Note: To use any additional values within the tool call, use Annotated[..., InjectState(attr_name)] syntax
2024-11-14 -- Currently think that dependency injections should be given to tool at instantiation
(in get_tools_by_names). And this is for additional information that comes from graph state/config.
Not expecting any tools to use the runnable_config directly, so any required info from config should be passed
here explicitly.
conv_id
instance-attribute
user_id
instance-attribute
SubAssistantToolCallInput
Bases: ToolCallInputBase
The inputs that sub-assistant tool calls are passed.
Note: sub-assistant tool uses ensure_config to get the current parent config, so it doesn't need user_id, and
conv_id to be passed down.