ToolPythonFunction class

Constructors

ToolPythonFunction({Input<String?>? description, Input<String?>? name, Input<String?>? pythonCode, Input<ToolPythonFunctionServiceDirectoryConfig?>? serviceDirectoryConfig})
Creates a new ToolPythonFunction. description (Output) name Optional. The name of the Python function to execute. Must match a Python function pythonCode Optional. The Python code to execute for the tool. serviceDirectoryConfig Service Directory configuration for the tool.
const
ToolPythonFunction.fromMap(Map<String, dynamic> map)
factory

Properties

description → Input<String?>?
(Output) The description of the Python function, parsed from the python code's docstring.
final
hashCode → int
The hash code for this object.
no setterinherited
name → Input<String?>?
Optional. The name of the Python function to execute. Must match a Python function name defined in the python code. Case sensitive. If the name is not provided, the first function defined in the python code will be used.
final
pythonCode → Input<String?>?
Optional. The Python code to execute for the tool.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serviceDirectoryConfig → Input<ToolPythonFunctionServiceDirectoryConfig?>?
Service Directory configuration for the tool. Structure is documented below.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited