id
stringlengths
14
15
text
stringlengths
35
2.07k
embedding
sequence
source
stringlengths
61
154
e66c2fb8642c-1
param return_direct: bool = False¶ Whether to return the tool’s output directly. Setting this to True means that after the tool is called, the AgentExecutor will stop looping. param search_wrapper: BraveSearchWrapper [Required]¶ param verbose: bool = False¶ Whether to log the tool’s progress. __call__(tool_input: str, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None) → str¶ Make tool callable. async arun(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool asynchronously. classmethod from_api_key(api_key: str, search_kwargs: Optional[dict] = None, **kwargs: Any) → BraveSearch[source]¶ validator raise_deprecation  »  all fields¶ Raise deprecation warning if callback_manager is used. run(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool. property args: dict¶ property is_single_input: bool¶ Whether the tool only accepts a single input. model Config¶ Bases: object Configuration for this pydantic object. arbitrary_types_allowed = True¶ extra = 'forbid'¶
[ 913, 471, 33971, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 471, 279, 5507, 753, 2612, 6089, 13, 20638, 420, 311, 3082, 3445, 198, 9210, 1306, 279, 5507, 374, 2663, 11, 279, 21372, 26321, 690, 3009, 63687, 627, 913, 2778, 24474, 25, 70308, 6014, 11803, 510, 8327, 60, 55609, 198, 913, 14008, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 1515, 279, 5507, 753, 5208, 627, 565, 6797, 3889, 14506, 6022, 25, 610, 11, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 8, 11651, 610, 55609, 198, 8238, 5507, 42022, 627, 7847, 802, 359, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 68881, 627, 27853, 505, 11959, 3173, 25865, 3173, 25, 610, 11, 2778, 37335, 25, 12536, 58, 8644, 60, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 70308, 6014, 76747, 60, 55609, 198, 16503, 4933, 2310, 70693, 4194, 8345, 4194, 682, 5151, 55609, 198, 94201, 409, 70693, 10163, 422, 4927, 12418, 374, 1511, 627, 6236, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 627, 3784, 2897, 25, 6587, 55609, 198, 3784, 374, 20052, 6022, 25, 1845, 55609, 198, 25729, 279, 5507, 1193, 27441, 264, 3254, 1988, 627, 2590, 5649, 55609, 198, 33, 2315, 25, 1665, 198, 7843, 369, 420, 4611, 67, 8322, 1665, 627, 277, 88951, 9962, 43255, 284, 3082, 55609, 198, 15824, 284, 364, 2000, 21301, 6, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.brave_search.tool.BraveSearch.html
f1ea81d2f614-0
langchain.tools.json.tool.JsonGetValueTool¶ class langchain.tools.json.tool.JsonGetValueTool(*, name: str = 'json_spec_get_value', description: str = '\n    Can be used to see value in string format at a given path.\n    Before calling this you should be SURE that the path to this exists.\n    The input is a text representation of the path to the dict in Python syntax (e.g. data["key1"][0]["key2"]).\n    ', args_schema: Optional[Type[BaseModel]] = None, return_direct: bool = False, verbose: bool = False, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, callback_manager: Optional[BaseCallbackManager] = None, handle_tool_error: Optional[Union[bool, str, Callable[[ToolException], str]]] = False, spec: JsonSpec)[source]¶ Bases: BaseTool Tool for getting a value in a JSON spec. Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param args_schema: Optional[Type[BaseModel]] = None¶ Pydantic model class to validate and parse the tool’s input arguments. param callback_manager: Optional[BaseCallbackManager] = None¶ Deprecated. Please use callbacks instead. param callbacks: Callbacks = None¶ Callbacks to be called during tool execution. param description: str = '\n    Can be used to see value in string format at a given path.\n    Before calling this you should be SURE that the path to this exists.\n    The input is a text representation of the path to the dict in Python syntax (e.g. data["key1"][0]["key2"]).\n    '¶
[ 5317, 8995, 24029, 4421, 21966, 13874, 24091, 7896, 55609, 198, 1058, 8859, 8995, 24029, 4421, 21966, 13874, 24091, 7896, 4163, 11, 836, 25, 610, 284, 364, 2285, 13908, 3138, 3220, 518, 4096, 25, 610, 284, 5307, 77, 46493, 3053, 387, 1511, 311, 1518, 907, 304, 925, 3645, 520, 264, 2728, 1853, 7255, 77, 46493, 13538, 8260, 420, 499, 1288, 387, 328, 4622, 430, 279, 1853, 311, 420, 6866, 7255, 77, 46493, 578, 1988, 374, 264, 1495, 13340, 315, 279, 1853, 311, 279, 6587, 304, 13325, 20047, 320, 68, 1326, 13, 828, 1204, 798, 16, 18613, 15, 10069, 798, 17, 46114, 59, 77, 46493, 6752, 2897, 26443, 25, 12536, 58, 941, 58, 4066, 1747, 5163, 284, 2290, 11, 471, 33971, 25, 1845, 284, 3641, 11, 14008, 25, 1845, 284, 3641, 11, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 4927, 12418, 25, 12536, 58, 4066, 7646, 2087, 60, 284, 2290, 11, 3790, 23627, 4188, 25, 12536, 58, 33758, 58, 2707, 11, 610, 11, 54223, 15873, 7896, 1378, 1145, 610, 5163, 60, 284, 3641, 11, 1424, 25, 8472, 8491, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 7896, 198, 7896, 369, 3794, 264, 907, 304, 264, 4823, 1424, 627, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 2897, 26443, 25, 12536, 58, 941, 58, 4066, 1747, 5163, 284, 2290, 55609, 198, 14149, 67, 8322, 1646, 538, 311, 9788, 323, 4820, 279, 5507, 753, 1988, 6105, 627, 913, 4927, 12418, 25, 12536, 58, 4066, 7646, 2087, 60, 284, 2290, 55609, 198, 52444, 13, 5321, 1005, 27777, 4619, 627, 913, 27777, 25, 23499, 82, 284, 2290, 55609, 198, 45561, 311, 387, 2663, 2391, 5507, 11572, 627, 913, 4096, 25, 610, 284, 5307, 77, 46493, 3053, 387, 1511, 311, 1518, 907, 304, 925, 3645, 520, 264, 2728, 1853, 7255, 77, 46493, 13538, 8260, 420, 499, 1288, 387, 328, 4622, 430, 279, 1853, 311, 420, 6866, 7255, 77, 46493, 578, 1988, 374, 264, 1495, 13340, 315, 279, 1853, 311, 279, 6587, 304, 13325, 20047, 320, 68, 1326, 13, 828, 1204, 798, 16, 18613, 15, 10069, 798, 17, 46114, 59, 77, 46493, 364, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.json.tool.JsonGetValueTool.html
f1ea81d2f614-1
Used to tell the model how/when/why to use the tool. You can provide few-shot examples as a part of the description. param handle_tool_error: Optional[Union[bool, str, Callable[[ToolException], str]]] = False¶ Handle the content of the ToolException thrown. param name: str = 'json_spec_get_value'¶ The unique name of the tool that clearly communicates its purpose. param return_direct: bool = False¶ Whether to return the tool’s output directly. Setting this to True means that after the tool is called, the AgentExecutor will stop looping. param spec: JsonSpec [Required]¶ param verbose: bool = False¶ Whether to log the tool’s progress. __call__(tool_input: str, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None) → str¶ Make tool callable. async arun(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool asynchronously. validator raise_deprecation  »  all fields¶ Raise deprecation warning if callback_manager is used. run(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool. property args: dict¶ property is_single_input: bool¶ Whether the tool only accepts a single input. model Config¶ Bases: object Configuration for this pydantic object.
[ 23580, 311, 3371, 279, 1646, 1268, 14, 9493, 14, 35734, 311, 1005, 279, 5507, 627, 2675, 649, 3493, 2478, 64630, 10507, 439, 264, 961, 315, 279, 4096, 627, 913, 3790, 23627, 4188, 25, 12536, 58, 33758, 58, 2707, 11, 610, 11, 54223, 15873, 7896, 1378, 1145, 610, 5163, 60, 284, 3641, 55609, 198, 7144, 279, 2262, 315, 279, 13782, 1378, 15338, 627, 913, 836, 25, 610, 284, 364, 2285, 13908, 3138, 3220, 6, 55609, 198, 791, 5016, 836, 315, 279, 5507, 430, 9539, 92606, 1202, 7580, 627, 913, 471, 33971, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 471, 279, 5507, 753, 2612, 6089, 13, 20638, 420, 311, 3082, 3445, 198, 9210, 1306, 279, 5507, 374, 2663, 11, 279, 21372, 26321, 690, 3009, 63687, 627, 913, 1424, 25, 8472, 8491, 510, 8327, 60, 55609, 198, 913, 14008, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 1515, 279, 5507, 753, 5208, 627, 565, 6797, 3889, 14506, 6022, 25, 610, 11, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 8, 11651, 610, 55609, 198, 8238, 5507, 42022, 627, 7847, 802, 359, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 68881, 627, 16503, 4933, 2310, 70693, 4194, 8345, 4194, 682, 5151, 55609, 198, 94201, 409, 70693, 10163, 422, 4927, 12418, 374, 1511, 627, 6236, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 627, 3784, 2897, 25, 6587, 55609, 198, 3784, 374, 20052, 6022, 25, 1845, 55609, 198, 25729, 279, 5507, 1193, 27441, 264, 3254, 1988, 627, 2590, 5649, 55609, 198, 33, 2315, 25, 1665, 198, 7843, 369, 420, 4611, 67, 8322, 1665, 13 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.json.tool.JsonGetValueTool.html
f1ea81d2f614-2
model Config¶ Bases: object Configuration for this pydantic object. arbitrary_types_allowed = True¶ extra = 'forbid'¶
[ 2590, 5649, 55609, 198, 33, 2315, 25, 1665, 198, 7843, 369, 420, 4611, 67, 8322, 1665, 627, 277, 88951, 9962, 43255, 284, 3082, 55609, 198, 15824, 284, 364, 2000, 21301, 6, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.json.tool.JsonGetValueTool.html
0096ec0242bb-0
langchain.tools.powerbi.tool.ListPowerBITool¶ class langchain.tools.powerbi.tool.ListPowerBITool(*, name: str = 'list_tables_powerbi', description: str = 'Input is an empty string, output is a comma separated list of tables in the database.', args_schema: Optional[Type[BaseModel]] = None, return_direct: bool = False, verbose: bool = False, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, callback_manager: Optional[BaseCallbackManager] = None, handle_tool_error: Optional[Union[bool, str, Callable[[ToolException], str]]] = False, powerbi: PowerBIDataset)[source]¶ Bases: BaseTool Tool for getting tables names. Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param args_schema: Optional[Type[BaseModel]] = None¶ Pydantic model class to validate and parse the tool’s input arguments. param callback_manager: Optional[BaseCallbackManager] = None¶ Deprecated. Please use callbacks instead. param callbacks: Callbacks = None¶ Callbacks to be called during tool execution. param description: str = 'Input is an empty string, output is a comma separated list of tables in the database.'¶ Used to tell the model how/when/why to use the tool. You can provide few-shot examples as a part of the description. param handle_tool_error: Optional[Union[bool, str, Callable[[ToolException], str]]] = False¶ Handle the content of the ToolException thrown. param name: str = 'list_tables_powerbi'¶ The unique name of the tool that clearly communicates its purpose.
[ 5317, 8995, 24029, 40645, 8385, 21966, 5937, 15335, 21587, 1786, 55609, 198, 1058, 8859, 8995, 24029, 40645, 8385, 21966, 5937, 15335, 21587, 1786, 4163, 11, 836, 25, 610, 284, 364, 1638, 36732, 21052, 8385, 518, 4096, 25, 610, 284, 364, 2566, 374, 459, 4384, 925, 11, 2612, 374, 264, 32783, 19180, 1160, 315, 12920, 304, 279, 4729, 16045, 2897, 26443, 25, 12536, 58, 941, 58, 4066, 1747, 5163, 284, 2290, 11, 471, 33971, 25, 1845, 284, 3641, 11, 14008, 25, 1845, 284, 3641, 11, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 4927, 12418, 25, 12536, 58, 4066, 7646, 2087, 60, 284, 2290, 11, 3790, 23627, 4188, 25, 12536, 58, 33758, 58, 2707, 11, 610, 11, 54223, 15873, 7896, 1378, 1145, 610, 5163, 60, 284, 3641, 11, 2410, 8385, 25, 7572, 33, 926, 8534, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 7896, 198, 7896, 369, 3794, 12920, 5144, 627, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 2897, 26443, 25, 12536, 58, 941, 58, 4066, 1747, 5163, 284, 2290, 55609, 198, 14149, 67, 8322, 1646, 538, 311, 9788, 323, 4820, 279, 5507, 753, 1988, 6105, 627, 913, 4927, 12418, 25, 12536, 58, 4066, 7646, 2087, 60, 284, 2290, 55609, 198, 52444, 13, 5321, 1005, 27777, 4619, 627, 913, 27777, 25, 23499, 82, 284, 2290, 55609, 198, 45561, 311, 387, 2663, 2391, 5507, 11572, 627, 913, 4096, 25, 610, 284, 364, 2566, 374, 459, 4384, 925, 11, 2612, 374, 264, 32783, 19180, 1160, 315, 12920, 304, 279, 4729, 3238, 55609, 198, 23580, 311, 3371, 279, 1646, 1268, 14, 9493, 14, 35734, 311, 1005, 279, 5507, 627, 2675, 649, 3493, 2478, 64630, 10507, 439, 264, 961, 315, 279, 4096, 627, 913, 3790, 23627, 4188, 25, 12536, 58, 33758, 58, 2707, 11, 610, 11, 54223, 15873, 7896, 1378, 1145, 610, 5163, 60, 284, 3641, 55609, 198, 7144, 279, 2262, 315, 279, 13782, 1378, 15338, 627, 913, 836, 25, 610, 284, 364, 1638, 36732, 21052, 8385, 6, 55609, 198, 791, 5016, 836, 315, 279, 5507, 430, 9539, 92606, 1202, 7580, 13 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.powerbi.tool.ListPowerBITool.html
0096ec0242bb-1
The unique name of the tool that clearly communicates its purpose. param powerbi: langchain.utilities.powerbi.PowerBIDataset [Required]¶ param return_direct: bool = False¶ Whether to return the tool’s output directly. Setting this to True means that after the tool is called, the AgentExecutor will stop looping. param verbose: bool = False¶ Whether to log the tool’s progress. __call__(tool_input: str, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None) → str¶ Make tool callable. async arun(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool asynchronously. validator raise_deprecation  »  all fields¶ Raise deprecation warning if callback_manager is used. run(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool. property args: dict¶ property is_single_input: bool¶ Whether the tool only accepts a single input. model Config[source]¶ Bases: object Configuration for this pydantic object. arbitrary_types_allowed = True¶
[ 791, 5016, 836, 315, 279, 5507, 430, 9539, 92606, 1202, 7580, 627, 913, 2410, 8385, 25, 8859, 8995, 63795, 40645, 8385, 55186, 33, 926, 8534, 510, 8327, 60, 55609, 198, 913, 471, 33971, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 471, 279, 5507, 753, 2612, 6089, 13, 20638, 420, 311, 3082, 3445, 198, 9210, 1306, 279, 5507, 374, 2663, 11, 279, 21372, 26321, 690, 3009, 63687, 627, 913, 14008, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 1515, 279, 5507, 753, 5208, 627, 565, 6797, 3889, 14506, 6022, 25, 610, 11, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 8, 11651, 610, 55609, 198, 8238, 5507, 42022, 627, 7847, 802, 359, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 68881, 627, 16503, 4933, 2310, 70693, 4194, 8345, 4194, 682, 5151, 55609, 198, 94201, 409, 70693, 10163, 422, 4927, 12418, 374, 1511, 627, 6236, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 627, 3784, 2897, 25, 6587, 55609, 198, 3784, 374, 20052, 6022, 25, 1845, 55609, 198, 25729, 279, 5507, 1193, 27441, 264, 3254, 1988, 627, 2590, 5649, 76747, 60, 55609, 198, 33, 2315, 25, 1665, 198, 7843, 369, 420, 4611, 67, 8322, 1665, 627, 277, 88951, 9962, 43255, 284, 3082, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.powerbi.tool.ListPowerBITool.html
ef84afb5c7e2-0
langchain.tools.bing_search.tool.BingSearchRun¶ class langchain.tools.bing_search.tool.BingSearchRun(*, name: str = 'bing_search', description: str = 'A wrapper around Bing Search. Useful for when you need to answer questions about current events. Input should be a search query.', args_schema: Optional[Type[BaseModel]] = None, return_direct: bool = False, verbose: bool = False, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, callback_manager: Optional[BaseCallbackManager] = None, handle_tool_error: Optional[Union[bool, str, Callable[[ToolException], str]]] = False, api_wrapper: BingSearchAPIWrapper)[source]¶ Bases: BaseTool Tool that adds the capability to query the Bing search API. Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param api_wrapper: langchain.utilities.bing_search.BingSearchAPIWrapper [Required]¶ param args_schema: Optional[Type[BaseModel]] = None¶ Pydantic model class to validate and parse the tool’s input arguments. param callback_manager: Optional[BaseCallbackManager] = None¶ Deprecated. Please use callbacks instead. param callbacks: Callbacks = None¶ Callbacks to be called during tool execution. param description: str = 'A wrapper around Bing Search. Useful for when you need to answer questions about current events. Input should be a search query.'¶ Used to tell the model how/when/why to use the tool. You can provide few-shot examples as a part of the description. param handle_tool_error: Optional[Union[bool, str, Callable[[ToolException], str]]] = False¶ Handle the content of the ToolException thrown.
[ 5317, 8995, 24029, 960, 287, 10947, 21966, 1823, 287, 6014, 6869, 55609, 198, 1058, 8859, 8995, 24029, 960, 287, 10947, 21966, 1823, 287, 6014, 6869, 4163, 11, 836, 25, 610, 284, 364, 7278, 10947, 518, 4096, 25, 610, 284, 364, 32, 13564, 2212, 54587, 7694, 13, 51612, 369, 994, 499, 1205, 311, 4320, 4860, 922, 1510, 4455, 13, 5688, 1288, 387, 264, 2778, 3319, 16045, 2897, 26443, 25, 12536, 58, 941, 58, 4066, 1747, 5163, 284, 2290, 11, 471, 33971, 25, 1845, 284, 3641, 11, 14008, 25, 1845, 284, 3641, 11, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 4927, 12418, 25, 12536, 58, 4066, 7646, 2087, 60, 284, 2290, 11, 3790, 23627, 4188, 25, 12536, 58, 33758, 58, 2707, 11, 610, 11, 54223, 15873, 7896, 1378, 1145, 610, 5163, 60, 284, 3641, 11, 6464, 24474, 25, 54587, 6014, 7227, 11803, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 7896, 198, 7896, 430, 11621, 279, 23099, 311, 3319, 279, 54587, 2778, 5446, 627, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 6464, 24474, 25, 8859, 8995, 63795, 960, 287, 10947, 1823, 287, 6014, 7227, 11803, 510, 8327, 60, 55609, 198, 913, 2897, 26443, 25, 12536, 58, 941, 58, 4066, 1747, 5163, 284, 2290, 55609, 198, 14149, 67, 8322, 1646, 538, 311, 9788, 323, 4820, 279, 5507, 753, 1988, 6105, 627, 913, 4927, 12418, 25, 12536, 58, 4066, 7646, 2087, 60, 284, 2290, 55609, 198, 52444, 13, 5321, 1005, 27777, 4619, 627, 913, 27777, 25, 23499, 82, 284, 2290, 55609, 198, 45561, 311, 387, 2663, 2391, 5507, 11572, 627, 913, 4096, 25, 610, 284, 364, 32, 13564, 2212, 54587, 7694, 13, 51612, 369, 994, 499, 1205, 311, 4320, 4860, 922, 1510, 4455, 13, 5688, 1288, 387, 264, 2778, 3319, 3238, 55609, 198, 23580, 311, 3371, 279, 1646, 1268, 14, 9493, 14, 35734, 311, 1005, 279, 5507, 627, 2675, 649, 3493, 2478, 64630, 10507, 439, 264, 961, 315, 279, 4096, 627, 913, 3790, 23627, 4188, 25, 12536, 58, 33758, 58, 2707, 11, 610, 11, 54223, 15873, 7896, 1378, 1145, 610, 5163, 60, 284, 3641, 55609, 198, 7144, 279, 2262, 315, 279, 13782, 1378, 15338, 13 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.bing_search.tool.BingSearchRun.html
ef84afb5c7e2-1
Handle the content of the ToolException thrown. param name: str = 'bing_search'¶ The unique name of the tool that clearly communicates its purpose. param return_direct: bool = False¶ Whether to return the tool’s output directly. Setting this to True means that after the tool is called, the AgentExecutor will stop looping. param verbose: bool = False¶ Whether to log the tool’s progress. __call__(tool_input: str, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None) → str¶ Make tool callable. async arun(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool asynchronously. validator raise_deprecation  »  all fields¶ Raise deprecation warning if callback_manager is used. run(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool. property args: dict¶ property is_single_input: bool¶ Whether the tool only accepts a single input. model Config¶ Bases: object Configuration for this pydantic object. arbitrary_types_allowed = True¶ extra = 'forbid'¶
[ 7144, 279, 2262, 315, 279, 13782, 1378, 15338, 627, 913, 836, 25, 610, 284, 364, 7278, 10947, 6, 55609, 198, 791, 5016, 836, 315, 279, 5507, 430, 9539, 92606, 1202, 7580, 627, 913, 471, 33971, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 471, 279, 5507, 753, 2612, 6089, 13, 20638, 420, 311, 3082, 3445, 198, 9210, 1306, 279, 5507, 374, 2663, 11, 279, 21372, 26321, 690, 3009, 63687, 627, 913, 14008, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 1515, 279, 5507, 753, 5208, 627, 565, 6797, 3889, 14506, 6022, 25, 610, 11, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 8, 11651, 610, 55609, 198, 8238, 5507, 42022, 627, 7847, 802, 359, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 68881, 627, 16503, 4933, 2310, 70693, 4194, 8345, 4194, 682, 5151, 55609, 198, 94201, 409, 70693, 10163, 422, 4927, 12418, 374, 1511, 627, 6236, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 627, 3784, 2897, 25, 6587, 55609, 198, 3784, 374, 20052, 6022, 25, 1845, 55609, 198, 25729, 279, 5507, 1193, 27441, 264, 3254, 1988, 627, 2590, 5649, 55609, 198, 33, 2315, 25, 1665, 198, 7843, 369, 420, 4611, 67, 8322, 1665, 627, 277, 88951, 9962, 43255, 284, 3082, 55609, 198, 15824, 284, 364, 2000, 21301, 6, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.bing_search.tool.BingSearchRun.html
42e1218da0ca-0
langchain.tools.steamship_image_generation.tool.ModelName¶ class langchain.tools.steamship_image_generation.tool.ModelName(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶ Bases: str, Enum Supported Image Models for generation. Methods __init__(*args, **kwds) capitalize() Return a capitalized version of the string. casefold() Return a version of the string suitable for caseless comparisons. center(width[, fillchar]) Return a centered string of length width. count(sub[, start[, end]]) Return the number of non-overlapping occurrences of substring sub in string S[start:end]. encode([encoding, errors]) Encode the string using the codec registered for encoding. endswith(suffix[, start[, end]]) Return True if S ends with the specified suffix, False otherwise. expandtabs([tabsize]) Return a copy where all tab characters are expanded using spaces. find(sub[, start[, end]]) Return the lowest index in S where substring sub is found, such that sub is contained within S[start:end]. format(*args, **kwargs) Return a formatted version of S, using substitutions from args and kwargs. format_map(mapping) Return a formatted version of S, using substitutions from mapping. index(sub[, start[, end]]) Return the lowest index in S where substring sub is found, such that sub is contained within S[start:end]. isalnum() Return True if the string is an alpha-numeric string, False otherwise. isalpha() Return True if the string is an alphabetic string, False otherwise. isascii() Return True if all characters in the string are ASCII, False otherwise. isdecimal()
[ 5317, 8995, 24029, 1258, 14922, 5383, 5060, 65291, 21966, 5777, 678, 55609, 198, 1058, 8859, 8995, 24029, 1258, 14922, 5383, 5060, 65291, 21966, 5777, 678, 3764, 11, 5144, 5980, 11, 12039, 4793, 5980, 11, 5965, 609, 5980, 11, 955, 5980, 11, 1212, 28, 16, 11, 19254, 5980, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 610, 11, 14416, 198, 35736, 4758, 27972, 369, 9659, 627, 18337, 198, 565, 2381, 69106, 2164, 11, 4194, 334, 29700, 5469, 340, 82441, 746, 5715, 264, 98421, 2373, 315, 279, 925, 627, 5756, 20557, 746, 5715, 264, 2373, 315, 279, 925, 14791, 369, 1162, 1752, 36595, 627, 3133, 16830, 38372, 4194, 7712, 1799, 2608, 5715, 264, 31288, 925, 315, 3160, 2430, 627, 1868, 10849, 38372, 4194, 2527, 38372, 4194, 408, 27829, 5715, 279, 1396, 315, 2536, 29352, 91719, 57115, 315, 39549, 1207, 304, 925, 328, 29563, 26874, 27218, 6311, 2625, 17600, 11, 4194, 7805, 2608, 33635, 279, 925, 1701, 279, 35747, 9879, 369, 11418, 627, 1438, 4291, 97566, 38372, 4194, 2527, 38372, 4194, 408, 27829, 5715, 3082, 422, 328, 10548, 449, 279, 5300, 21166, 11, 3641, 6062, 627, 33417, 32093, 2625, 6323, 2190, 2608, 5715, 264, 3048, 1405, 682, 5769, 5885, 527, 17626, 1701, 12908, 627, 3990, 10849, 38372, 4194, 2527, 38372, 4194, 408, 27829, 5715, 279, 15821, 1963, 304, 328, 1405, 39549, 1207, 374, 1766, 11, 1778, 430, 1207, 374, 13282, 2949, 328, 29563, 26874, 27218, 2293, 4163, 2164, 11, 4194, 334, 9872, 340, 5715, 264, 24001, 2373, 315, 328, 11, 1701, 94750, 505, 2897, 323, 16901, 627, 2293, 5489, 82157, 340, 5715, 264, 24001, 2373, 315, 328, 11, 1701, 94750, 505, 13021, 627, 1275, 10849, 38372, 4194, 2527, 38372, 4194, 408, 27829, 5715, 279, 15821, 1963, 304, 328, 1405, 39549, 1207, 374, 1766, 11, 1778, 430, 1207, 374, 13282, 2949, 328, 29563, 26874, 27218, 285, 94462, 746, 5715, 3082, 422, 279, 925, 374, 459, 8451, 12, 20173, 925, 11, 3641, 6062, 627, 285, 7288, 746, 5715, 3082, 422, 279, 925, 374, 459, 65695, 45938, 925, 11, 3641, 6062, 627, 285, 24207, 746, 5715, 3082, 422, 682, 5885, 304, 279, 925, 527, 40416, 11, 3641, 6062, 627, 285, 24170, 368 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.steamship_image_generation.tool.ModelName.html
42e1218da0ca-1
Return True if all characters in the string are ASCII, False otherwise. isdecimal() Return True if the string is a decimal string, False otherwise. isdigit() Return True if the string is a digit string, False otherwise. isidentifier() Return True if the string is a valid Python identifier, False otherwise. islower() Return True if the string is a lowercase string, False otherwise. isnumeric() Return True if the string is a numeric string, False otherwise. isprintable() Return True if the string is printable, False otherwise. isspace() Return True if the string is a whitespace string, False otherwise. istitle() Return True if the string is a title-cased string, False otherwise. isupper() Return True if the string is an uppercase string, False otherwise. join(iterable, /) Concatenate any number of strings. ljust(width[, fillchar]) Return a left-justified string of length width. lower() Return a copy of the string converted to lowercase. lstrip([chars]) Return a copy of the string with leading whitespace removed. maketrans Return a translation table usable for str.translate(). partition(sep, /) Partition the string into three parts using the given separator. removeprefix(prefix, /) Return a str with the given prefix string removed if present. removesuffix(suffix, /) Return a str with the given suffix string removed if present. replace(old, new[, count]) Return a copy with all occurrences of substring old replaced by new. rfind(sub[, start[, end]]) Return the highest index in S where substring sub is found, such that sub is contained within S[start:end]. rindex(sub[, start[, end]])
[ 5715, 3082, 422, 682, 5885, 304, 279, 925, 527, 40416, 11, 3641, 6062, 627, 285, 24170, 746, 5715, 3082, 422, 279, 925, 374, 264, 12395, 925, 11, 3641, 6062, 627, 70929, 746, 5715, 3082, 422, 279, 925, 374, 264, 16099, 925, 11, 3641, 6062, 627, 285, 16288, 746, 5715, 3082, 422, 279, 925, 374, 264, 2764, 13325, 13110, 11, 3641, 6062, 627, 285, 15115, 746, 5715, 3082, 422, 279, 925, 374, 264, 43147, 925, 11, 3641, 6062, 627, 285, 20173, 746, 5715, 3082, 422, 279, 925, 374, 264, 25031, 925, 11, 3641, 6062, 627, 285, 1374, 481, 746, 5715, 3082, 422, 279, 925, 374, 43095, 11, 3641, 6062, 627, 82870, 746, 5715, 3082, 422, 279, 925, 374, 264, 37472, 925, 11, 3641, 6062, 627, 380, 1017, 746, 5715, 3082, 422, 279, 925, 374, 264, 2316, 1824, 1503, 925, 11, 3641, 6062, 627, 285, 13886, 746, 5715, 3082, 422, 279, 925, 374, 459, 40582, 925, 11, 3641, 6062, 627, 6115, 28169, 481, 11, 4194, 54660, 79540, 32223, 904, 1396, 315, 9246, 627, 75, 4345, 16830, 38372, 4194, 7712, 1799, 2608, 5715, 264, 2163, 12, 4345, 1908, 925, 315, 3160, 2430, 627, 15115, 746, 5715, 264, 3048, 315, 279, 925, 16489, 311, 43147, 627, 75, 13406, 2625, 19811, 2608, 5715, 264, 3048, 315, 279, 925, 449, 6522, 37472, 7108, 627, 49662, 17820, 598, 198, 5715, 264, 14807, 2007, 41030, 369, 610, 26998, 26914, 42098, 10698, 79, 11, 4194, 54660, 51078, 279, 925, 1139, 2380, 5596, 1701, 279, 2728, 25829, 627, 5514, 12113, 30018, 11, 4194, 54660, 5715, 264, 610, 449, 279, 2728, 9436, 925, 7108, 422, 3118, 627, 1864, 10296, 13866, 97566, 11, 4194, 54660, 5715, 264, 610, 449, 279, 2728, 21166, 925, 7108, 422, 3118, 627, 8319, 22739, 11, 4194, 943, 38372, 4194, 1868, 2608, 5715, 264, 3048, 449, 682, 57115, 315, 39549, 2362, 12860, 555, 502, 627, 81, 3990, 10849, 38372, 4194, 2527, 38372, 4194, 408, 27829, 5715, 279, 8592, 1963, 304, 328, 1405, 39549, 1207, 374, 1766, 11, 1778, 430, 1207, 374, 13282, 2949, 328, 29563, 26874, 27218, 81, 1275, 10849, 38372, 4194, 2527, 38372, 4194, 408, 30716 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.steamship_image_generation.tool.ModelName.html
42e1218da0ca-2
rindex(sub[, start[, end]]) Return the highest index in S where substring sub is found, such that sub is contained within S[start:end]. rjust(width[, fillchar]) Return a right-justified string of length width. rpartition(sep, /) Partition the string into three parts using the given separator. rsplit([sep, maxsplit]) Return a list of the substrings in the string, using sep as the separator string. rstrip([chars]) Return a copy of the string with trailing whitespace removed. split([sep, maxsplit]) Return a list of the substrings in the string, using sep as the separator string. splitlines([keepends]) Return a list of the lines in the string, breaking at line boundaries. startswith(prefix[, start[, end]]) Return True if S starts with the specified prefix, False otherwise. strip([chars]) Return a copy of the string with leading and trailing whitespace removed. swapcase() Convert uppercase characters to lowercase and lowercase characters to uppercase. title() Return a version of the string where each word is titlecased. translate(table, /) Replace each character in the string using the given translation table. upper() Return a copy of the string converted to uppercase. zfill(width, /) Pad a numeric string with zeros on the left, to fill a field of the given width. Attributes DALL_E STABLE_DIFFUSION capitalize()¶ Return a capitalized version of the string. More specifically, make the first character have upper case and the rest lower case. casefold()¶ Return a version of the string suitable for caseless comparisons. center(width, fillchar=' ', /)¶ Return a centered string of length width.
[ 81, 1275, 10849, 38372, 4194, 2527, 38372, 4194, 408, 27829, 5715, 279, 8592, 1963, 304, 328, 1405, 39549, 1207, 374, 1766, 11, 1778, 430, 1207, 374, 13282, 2949, 328, 29563, 26874, 27218, 81, 4345, 16830, 38372, 4194, 7712, 1799, 2608, 5715, 264, 1314, 12, 4345, 1908, 925, 315, 3160, 2430, 627, 81, 42098, 10698, 79, 11, 4194, 54660, 51078, 279, 925, 1139, 2380, 5596, 1701, 279, 2728, 25829, 627, 5544, 2344, 2625, 29136, 11, 4194, 2880, 7105, 2608, 5715, 264, 1160, 315, 279, 16146, 826, 304, 279, 925, 11, 1701, 21693, 439, 279, 25829, 925, 627, 71498, 2625, 19811, 2608, 5715, 264, 3048, 315, 279, 925, 449, 28848, 37472, 7108, 627, 7105, 2625, 29136, 11, 4194, 2880, 7105, 2608, 5715, 264, 1160, 315, 279, 16146, 826, 304, 279, 925, 11, 1701, 21693, 439, 279, 25829, 925, 627, 7105, 8128, 2625, 13397, 1438, 2608, 5715, 264, 1160, 315, 279, 5238, 304, 279, 925, 11, 15061, 520, 1584, 23546, 627, 70425, 30018, 38372, 4194, 2527, 38372, 4194, 408, 27829, 5715, 3082, 422, 328, 8638, 449, 279, 5300, 9436, 11, 3641, 6062, 627, 13406, 2625, 19811, 2608, 5715, 264, 3048, 315, 279, 925, 449, 6522, 323, 28848, 37472, 7108, 627, 26825, 5756, 746, 12281, 40582, 5885, 311, 43147, 323, 43147, 5885, 311, 40582, 627, 2150, 746, 5715, 264, 2373, 315, 279, 925, 1405, 1855, 3492, 374, 2316, 92226, 627, 14372, 16138, 11, 4194, 54660, 23979, 1855, 3752, 304, 279, 925, 1701, 279, 2728, 14807, 2007, 627, 13886, 746, 5715, 264, 3048, 315, 279, 925, 16489, 311, 40582, 627, 89, 7712, 16830, 11, 4194, 54660, 14047, 264, 25031, 925, 449, 17975, 389, 279, 2163, 11, 311, 5266, 264, 2115, 315, 279, 2728, 2430, 627, 10738, 198, 35, 4006, 2135, 198, 790, 3578, 55084, 2078, 1294, 198, 82441, 368, 55609, 198, 5715, 264, 98421, 2373, 315, 279, 925, 627, 7816, 11951, 11, 1304, 279, 1176, 3752, 617, 8582, 1162, 323, 279, 2800, 4827, 198, 5756, 627, 5756, 20557, 368, 55609, 198, 5715, 264, 2373, 315, 279, 925, 14791, 369, 1162, 1752, 36595, 627, 3133, 16830, 11, 5266, 1799, 1151, 6752, 611, 8, 55609, 198, 5715, 264, 31288, 925, 315, 3160, 2430, 13 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.steamship_image_generation.tool.ModelName.html
42e1218da0ca-3
center(width, fillchar=' ', /)¶ Return a centered string of length width. Padding is done using the specified fill character (default is a space). count(sub[, start[, end]]) → int¶ Return the number of non-overlapping occurrences of substring sub in string S[start:end]. Optional arguments start and end are interpreted as in slice notation. encode(encoding='utf-8', errors='strict')¶ Encode the string using the codec registered for encoding. encodingThe encoding in which to encode the string. errorsThe error handling scheme to use for encoding errors. The default is ‘strict’ meaning that encoding errors raise a UnicodeEncodeError. Other possible values are ‘ignore’, ‘replace’ and ‘xmlcharrefreplace’ as well as any other name registered with codecs.register_error that can handle UnicodeEncodeErrors. endswith(suffix[, start[, end]]) → bool¶ Return True if S ends with the specified suffix, False otherwise. With optional start, test S beginning at that position. With optional end, stop comparing S at that position. suffix can also be a tuple of strings to try. expandtabs(tabsize=8)¶ Return a copy where all tab characters are expanded using spaces. If tabsize is not given, a tab size of 8 characters is assumed. find(sub[, start[, end]]) → int¶ Return the lowest index in S where substring sub is found, such that sub is contained within S[start:end]. Optional arguments start and end are interpreted as in slice notation. Return -1 on failure. format(*args, **kwargs) → str¶ Return a formatted version of S, using substitutions from args and kwargs. The substitutions are identified by braces (‘{’ and ‘}’). format_map(mapping) → str¶
[ 3133, 16830, 11, 5266, 1799, 1151, 6752, 611, 8, 55609, 198, 5715, 264, 31288, 925, 315, 3160, 2430, 627, 22344, 374, 2884, 1701, 279, 5300, 5266, 3752, 320, 2309, 374, 264, 3634, 4390, 1868, 10849, 38372, 1212, 38372, 842, 30716, 11651, 528, 55609, 198, 5715, 279, 1396, 315, 2536, 29352, 91719, 57115, 315, 39549, 1207, 304, 198, 928, 328, 29563, 26874, 948, 220, 12536, 6105, 1212, 323, 842, 527, 198, 94561, 439, 304, 16363, 45297, 627, 6311, 86963, 1151, 4867, 12, 23, 518, 6103, 1151, 6765, 873, 55609, 198, 33635, 279, 925, 1701, 279, 35747, 9879, 369, 11418, 627, 17600, 791, 11418, 304, 902, 311, 16559, 279, 925, 627, 7805, 791, 1493, 11850, 13155, 311, 1005, 369, 11418, 6103, 627, 791, 1670, 374, 3451, 6765, 529, 7438, 430, 11418, 6103, 4933, 264, 198, 35020, 33635, 1480, 13, 220, 7089, 3284, 2819, 527, 3451, 13431, 20182, 3451, 8319, 529, 323, 198, 14336, 6591, 1799, 1116, 8319, 529, 439, 1664, 439, 904, 1023, 836, 9879, 449, 198, 1889, 4942, 10131, 4188, 430, 649, 3790, 36997, 33635, 14199, 627, 1438, 4291, 97566, 38372, 1212, 38372, 842, 30716, 11651, 1845, 55609, 198, 5715, 3082, 422, 328, 10548, 449, 279, 5300, 21166, 11, 3641, 6062, 627, 2409, 10309, 1212, 11, 1296, 328, 7314, 520, 430, 2361, 627, 2409, 10309, 842, 11, 3009, 27393, 328, 520, 430, 2361, 627, 27884, 649, 1101, 387, 264, 14743, 315, 9246, 311, 1456, 627, 33417, 32093, 28945, 2190, 28, 23, 8, 55609, 198, 5715, 264, 3048, 1405, 682, 5769, 5885, 527, 17626, 1701, 12908, 627, 2746, 5769, 2190, 374, 539, 2728, 11, 264, 5769, 1404, 315, 220, 23, 5885, 374, 19655, 627, 3990, 10849, 38372, 1212, 38372, 842, 30716, 11651, 528, 55609, 198, 5715, 279, 15821, 1963, 304, 328, 1405, 39549, 1207, 374, 1766, 345, 21470, 430, 1207, 374, 13282, 2949, 328, 29563, 26874, 948, 220, 12536, 198, 16774, 1212, 323, 842, 527, 33398, 439, 304, 16363, 45297, 627, 5715, 482, 16, 389, 8060, 627, 2293, 4163, 2164, 11, 3146, 9872, 8, 11651, 610, 55609, 198, 5715, 264, 24001, 2373, 315, 328, 11, 1701, 94750, 505, 2897, 323, 16901, 627, 791, 94750, 527, 11054, 555, 60291, 320, 14336, 90, 529, 323, 3451, 92, 529, 4390, 2293, 5489, 82157, 8, 11651, 610, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.steamship_image_generation.tool.ModelName.html
42e1218da0ca-4
format_map(mapping) → str¶ Return a formatted version of S, using substitutions from mapping. The substitutions are identified by braces (‘{’ and ‘}’). index(sub[, start[, end]]) → int¶ Return the lowest index in S where substring sub is found, such that sub is contained within S[start:end]. Optional arguments start and end are interpreted as in slice notation. Raises ValueError when the substring is not found. isalnum()¶ Return True if the string is an alpha-numeric string, False otherwise. A string is alpha-numeric if all characters in the string are alpha-numeric and there is at least one character in the string. isalpha()¶ Return True if the string is an alphabetic string, False otherwise. A string is alphabetic if all characters in the string are alphabetic and there is at least one character in the string. isascii()¶ Return True if all characters in the string are ASCII, False otherwise. ASCII characters have code points in the range U+0000-U+007F. Empty string is ASCII too. isdecimal()¶ Return True if the string is a decimal string, False otherwise. A string is a decimal string if all characters in the string are decimal and there is at least one character in the string. isdigit()¶ Return True if the string is a digit string, False otherwise. A string is a digit string if all characters in the string are digits and there is at least one character in the string. isidentifier()¶ Return True if the string is a valid Python identifier, False otherwise. Call keyword.iskeyword(s) to test whether string s is a reserved identifier, such as “def” or “class”. islower()¶ Return True if the string is a lowercase string, False otherwise.
[ 2293, 5489, 82157, 8, 11651, 610, 55609, 198, 5715, 264, 24001, 2373, 315, 328, 11, 1701, 94750, 505, 13021, 627, 791, 94750, 527, 11054, 555, 60291, 320, 14336, 90, 529, 323, 3451, 92, 529, 4390, 1275, 10849, 38372, 1212, 38372, 842, 30716, 11651, 528, 55609, 198, 5715, 279, 15821, 1963, 304, 328, 1405, 39549, 1207, 374, 1766, 345, 21470, 430, 1207, 374, 13282, 2949, 328, 29563, 26874, 948, 220, 12536, 198, 16774, 1212, 323, 842, 527, 33398, 439, 304, 16363, 45297, 627, 36120, 15764, 994, 279, 39549, 374, 539, 1766, 627, 285, 94462, 368, 55609, 198, 5715, 3082, 422, 279, 925, 374, 459, 8451, 12, 20173, 925, 11, 3641, 6062, 627, 32, 925, 374, 8451, 12, 20173, 422, 682, 5885, 304, 279, 925, 527, 8451, 12, 20173, 323, 198, 19041, 374, 520, 3325, 832, 3752, 304, 279, 925, 627, 285, 7288, 368, 55609, 198, 5715, 3082, 422, 279, 925, 374, 459, 65695, 45938, 925, 11, 3641, 6062, 627, 32, 925, 374, 65695, 45938, 422, 682, 5885, 304, 279, 925, 527, 65695, 45938, 323, 1070, 198, 285, 520, 3325, 832, 3752, 304, 279, 925, 627, 285, 24207, 368, 55609, 198, 5715, 3082, 422, 682, 5885, 304, 279, 925, 527, 40416, 11, 3641, 6062, 627, 57550, 5885, 617, 2082, 3585, 304, 279, 2134, 549, 10, 931, 15, 35681, 10, 11194, 37, 627, 3606, 925, 374, 40416, 2288, 627, 285, 24170, 368, 55609, 198, 5715, 3082, 422, 279, 925, 374, 264, 12395, 925, 11, 3641, 6062, 627, 32, 925, 374, 264, 12395, 925, 422, 682, 5885, 304, 279, 925, 527, 12395, 323, 198, 19041, 374, 520, 3325, 832, 3752, 304, 279, 925, 627, 70929, 368, 55609, 198, 5715, 3082, 422, 279, 925, 374, 264, 16099, 925, 11, 3641, 6062, 627, 32, 925, 374, 264, 16099, 925, 422, 682, 5885, 304, 279, 925, 527, 19016, 323, 1070, 198, 285, 520, 3325, 832, 3752, 304, 279, 925, 627, 285, 16288, 368, 55609, 198, 5715, 3082, 422, 279, 925, 374, 264, 2764, 13325, 13110, 11, 3641, 6062, 627, 7368, 16570, 2124, 20454, 1161, 8, 311, 1296, 3508, 925, 274, 374, 264, 4694, 13110, 345, 21470, 439, 1054, 755, 863, 477, 1054, 1058, 863, 627, 285, 15115, 368, 55609, 198, 5715, 3082, 422, 279, 925, 374, 264, 43147, 925, 11, 3641, 6062, 13 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.steamship_image_generation.tool.ModelName.html
42e1218da0ca-5
islower()¶ Return True if the string is a lowercase string, False otherwise. A string is lowercase if all cased characters in the string are lowercase and there is at least one cased character in the string. isnumeric()¶ Return True if the string is a numeric string, False otherwise. A string is numeric if all characters in the string are numeric and there is at least one character in the string. isprintable()¶ Return True if the string is printable, False otherwise. A string is printable if all of its characters are considered printable in repr() or if it is empty. isspace()¶ Return True if the string is a whitespace string, False otherwise. A string is whitespace if all characters in the string are whitespace and there is at least one character in the string. istitle()¶ Return True if the string is a title-cased string, False otherwise. In a title-cased string, upper- and title-case characters may only follow uncased characters and lowercase characters only cased ones. isupper()¶ Return True if the string is an uppercase string, False otherwise. A string is uppercase if all cased characters in the string are uppercase and there is at least one cased character in the string. join(iterable, /)¶ Concatenate any number of strings. The string whose method is called is inserted in between each given string. The result is returned as a new string. Example: ‘.’.join([‘ab’, ‘pq’, ‘rs’]) -> ‘ab.pq.rs’ ljust(width, fillchar=' ', /)¶ Return a left-justified string of length width. Padding is done using the specified fill character (default is a space). lower()¶ Return a copy of the string converted to lowercase.
[ 285, 15115, 368, 55609, 198, 5715, 3082, 422, 279, 925, 374, 264, 43147, 925, 11, 3641, 6062, 627, 32, 925, 374, 43147, 422, 682, 272, 1503, 5885, 304, 279, 925, 527, 43147, 323, 198, 19041, 374, 520, 3325, 832, 272, 1503, 3752, 304, 279, 925, 627, 285, 20173, 368, 55609, 198, 5715, 3082, 422, 279, 925, 374, 264, 25031, 925, 11, 3641, 6062, 627, 32, 925, 374, 25031, 422, 682, 5885, 304, 279, 925, 527, 25031, 323, 1070, 374, 520, 198, 56371, 832, 3752, 304, 279, 925, 627, 285, 1374, 481, 368, 55609, 198, 5715, 3082, 422, 279, 925, 374, 43095, 11, 3641, 6062, 627, 32, 925, 374, 43095, 422, 682, 315, 1202, 5885, 527, 6646, 43095, 304, 198, 31937, 368, 477, 422, 433, 374, 4384, 627, 82870, 368, 55609, 198, 5715, 3082, 422, 279, 925, 374, 264, 37472, 925, 11, 3641, 6062, 627, 32, 925, 374, 37472, 422, 682, 5885, 304, 279, 925, 527, 37472, 323, 1070, 198, 285, 520, 3325, 832, 3752, 304, 279, 925, 627, 380, 1017, 368, 55609, 198, 5715, 3082, 422, 279, 925, 374, 264, 2316, 1824, 1503, 925, 11, 3641, 6062, 627, 644, 264, 2316, 1824, 1503, 925, 11, 8582, 12, 323, 2316, 39585, 5885, 1253, 1193, 198, 19070, 21482, 1503, 5885, 323, 43147, 5885, 1193, 272, 1503, 6305, 627, 285, 13886, 368, 55609, 198, 5715, 3082, 422, 279, 925, 374, 459, 40582, 925, 11, 3641, 6062, 627, 32, 925, 374, 40582, 422, 682, 272, 1503, 5885, 304, 279, 925, 527, 40582, 323, 198, 19041, 374, 520, 3325, 832, 272, 1503, 3752, 304, 279, 925, 627, 6115, 28169, 481, 11, 611, 8, 55609, 198, 79540, 32223, 904, 1396, 315, 9246, 627, 791, 925, 6832, 1749, 374, 2663, 374, 22306, 304, 1990, 1855, 2728, 925, 627, 791, 1121, 374, 6052, 439, 264, 502, 925, 627, 13617, 25, 3451, 14639, 13, 6115, 2625, 14336, 370, 20182, 3451, 65116, 20182, 3451, 5544, 529, 2526, 1492, 3451, 370, 558, 80, 26721, 529, 198, 75, 4345, 16830, 11, 5266, 1799, 1151, 6752, 611, 8, 55609, 198, 5715, 264, 2163, 12, 4345, 1908, 925, 315, 3160, 2430, 627, 22344, 374, 2884, 1701, 279, 5300, 5266, 3752, 320, 2309, 374, 264, 3634, 4390, 15115, 368, 55609, 198, 5715, 264, 3048, 315, 279, 925, 16489, 311, 43147, 13 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.steamship_image_generation.tool.ModelName.html
42e1218da0ca-6
lower()¶ Return a copy of the string converted to lowercase. lstrip(chars=None, /)¶ Return a copy of the string with leading whitespace removed. If chars is given and not None, remove characters in chars instead. static maketrans()¶ Return a translation table usable for str.translate(). If there is only one argument, it must be a dictionary mapping Unicode ordinals (integers) or characters to Unicode ordinals, strings or None. Character keys will be then converted to ordinals. If there are two arguments, they must be strings of equal length, and in the resulting dictionary, each character in x will be mapped to the character at the same position in y. If there is a third argument, it must be a string, whose characters will be mapped to None in the result. partition(sep, /)¶ Partition the string into three parts using the given separator. This will search for the separator in the string. If the separator is found, returns a 3-tuple containing the part before the separator, the separator itself, and the part after it. If the separator is not found, returns a 3-tuple containing the original string and two empty strings. removeprefix(prefix, /)¶ Return a str with the given prefix string removed if present. If the string starts with the prefix string, return string[len(prefix):]. Otherwise, return a copy of the original string. removesuffix(suffix, /)¶ Return a str with the given suffix string removed if present. If the string ends with the suffix string and that suffix is not empty, return string[:-len(suffix)]. Otherwise, return a copy of the original string. replace(old, new, count=- 1, /)¶ Return a copy with all occurrences of substring old replaced by new.
[ 15115, 368, 55609, 198, 5715, 264, 3048, 315, 279, 925, 16489, 311, 43147, 627, 75, 13406, 77306, 5980, 11, 611, 8, 55609, 198, 5715, 264, 3048, 315, 279, 925, 449, 6522, 37472, 7108, 627, 2746, 23861, 374, 2728, 323, 539, 2290, 11, 4148, 5885, 304, 23861, 4619, 627, 2020, 52016, 17820, 598, 368, 55609, 198, 5715, 264, 14807, 2007, 41030, 369, 610, 26998, 26914, 2746, 1070, 374, 1193, 832, 5811, 11, 433, 2011, 387, 264, 11240, 13021, 36997, 198, 541, 24624, 320, 396, 68692, 8, 477, 5885, 311, 36997, 6141, 24624, 11, 9246, 477, 2290, 627, 12686, 7039, 690, 387, 1243, 16489, 311, 6141, 24624, 627, 2746, 1070, 527, 1403, 6105, 11, 814, 2011, 387, 9246, 315, 6273, 3160, 11, 323, 198, 258, 279, 13239, 11240, 11, 1855, 3752, 304, 865, 690, 387, 24784, 311, 279, 198, 19740, 520, 279, 1890, 2361, 304, 379, 13, 1442, 1070, 374, 264, 4948, 5811, 11, 433, 198, 25849, 387, 264, 925, 11, 6832, 5885, 690, 387, 24784, 311, 2290, 304, 279, 1121, 627, 42098, 10698, 79, 11, 611, 8, 55609, 198, 51078, 279, 925, 1139, 2380, 5596, 1701, 279, 2728, 25829, 627, 2028, 690, 2778, 369, 279, 25829, 304, 279, 925, 13, 220, 1442, 279, 25829, 374, 1766, 345, 4310, 264, 220, 18, 2442, 6189, 8649, 279, 961, 1603, 279, 25829, 11, 279, 25829, 198, 275, 726, 11, 323, 279, 961, 1306, 433, 627, 2746, 279, 25829, 374, 539, 1766, 11, 4780, 264, 220, 18, 2442, 6189, 8649, 279, 4113, 925, 198, 438, 1403, 4384, 9246, 627, 5514, 12113, 30018, 11, 611, 8, 55609, 198, 5715, 264, 610, 449, 279, 2728, 9436, 925, 7108, 422, 3118, 627, 2746, 279, 925, 8638, 449, 279, 9436, 925, 11, 471, 925, 25721, 30018, 1680, 27218, 81556, 11, 471, 264, 3048, 315, 279, 4113, 925, 627, 1864, 10296, 13866, 97566, 11, 611, 8, 55609, 198, 5715, 264, 610, 449, 279, 2728, 21166, 925, 7108, 422, 3118, 627, 2746, 279, 925, 10548, 449, 279, 21166, 925, 323, 430, 21166, 374, 539, 4384, 345, 693, 925, 27141, 2963, 97566, 27261, 18715, 11, 471, 264, 3048, 315, 279, 4113, 198, 928, 627, 8319, 22739, 11, 502, 11, 1797, 11065, 220, 16, 11, 611, 8, 55609, 198, 5715, 264, 3048, 449, 682, 57115, 315, 39549, 2362, 12860, 555, 502, 13 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.steamship_image_generation.tool.ModelName.html
42e1218da0ca-7
Return a copy with all occurrences of substring old replaced by new. countMaximum number of occurrences to replace. -1 (the default value) means replace all occurrences. If the optional argument count is given, only the first count occurrences are replaced. rfind(sub[, start[, end]]) → int¶ Return the highest index in S where substring sub is found, such that sub is contained within S[start:end]. Optional arguments start and end are interpreted as in slice notation. Return -1 on failure. rindex(sub[, start[, end]]) → int¶ Return the highest index in S where substring sub is found, such that sub is contained within S[start:end]. Optional arguments start and end are interpreted as in slice notation. Raises ValueError when the substring is not found. rjust(width, fillchar=' ', /)¶ Return a right-justified string of length width. Padding is done using the specified fill character (default is a space). rpartition(sep, /)¶ Partition the string into three parts using the given separator. This will search for the separator in the string, starting at the end. If the separator is found, returns a 3-tuple containing the part before the separator, the separator itself, and the part after it. If the separator is not found, returns a 3-tuple containing two empty strings and the original string. rsplit(sep=None, maxsplit=- 1)¶ Return a list of the substrings in the string, using sep as the separator string. sepThe separator used to split the string. When set to None (the default value), will split on any whitespace character (including \n \r \t \f and spaces) and will discard empty strings from the result. maxsplitMaximum number of splits (starting from the left).
[ 5715, 264, 3048, 449, 682, 57115, 315, 39549, 2362, 12860, 555, 502, 627, 1868, 28409, 1396, 315, 57115, 311, 8454, 627, 12, 16, 320, 1820, 1670, 907, 8, 3445, 8454, 682, 57115, 627, 2746, 279, 10309, 5811, 1797, 374, 2728, 11, 1193, 279, 1176, 1797, 57115, 527, 198, 265, 37469, 627, 81, 3990, 10849, 38372, 1212, 38372, 842, 30716, 11651, 528, 55609, 198, 5715, 279, 8592, 1963, 304, 328, 1405, 39549, 1207, 374, 1766, 345, 21470, 430, 1207, 374, 13282, 2949, 328, 29563, 26874, 948, 220, 12536, 198, 16774, 1212, 323, 842, 527, 33398, 439, 304, 16363, 45297, 627, 5715, 482, 16, 389, 8060, 627, 81, 1275, 10849, 38372, 1212, 38372, 842, 30716, 11651, 528, 55609, 198, 5715, 279, 8592, 1963, 304, 328, 1405, 39549, 1207, 374, 1766, 345, 21470, 430, 1207, 374, 13282, 2949, 328, 29563, 26874, 948, 220, 12536, 198, 16774, 1212, 323, 842, 527, 33398, 439, 304, 16363, 45297, 627, 36120, 15764, 994, 279, 39549, 374, 539, 1766, 627, 81, 4345, 16830, 11, 5266, 1799, 1151, 6752, 611, 8, 55609, 198, 5715, 264, 1314, 12, 4345, 1908, 925, 315, 3160, 2430, 627, 22344, 374, 2884, 1701, 279, 5300, 5266, 3752, 320, 2309, 374, 264, 3634, 4390, 81, 42098, 10698, 79, 11, 611, 8, 55609, 198, 51078, 279, 925, 1139, 2380, 5596, 1701, 279, 2728, 25829, 627, 2028, 690, 2778, 369, 279, 25829, 304, 279, 925, 11, 6041, 520, 279, 842, 13, 1442, 198, 1820, 25829, 374, 1766, 11, 4780, 264, 220, 18, 2442, 6189, 8649, 279, 961, 1603, 279, 198, 41220, 11, 279, 25829, 5196, 11, 323, 279, 961, 1306, 433, 627, 2746, 279, 25829, 374, 539, 1766, 11, 4780, 264, 220, 18, 2442, 6189, 8649, 1403, 4384, 9246, 198, 438, 279, 4113, 925, 627, 5544, 2344, 10698, 79, 5980, 11, 1973, 7105, 11065, 220, 16, 8, 55609, 198, 5715, 264, 1160, 315, 279, 16146, 826, 304, 279, 925, 11, 1701, 21693, 439, 279, 25829, 925, 627, 29136, 791, 25829, 1511, 311, 6859, 279, 925, 627, 4599, 743, 311, 2290, 320, 1820, 1670, 907, 705, 690, 6859, 389, 904, 37472, 198, 19740, 320, 16564, 1144, 77, 1144, 81, 1144, 83, 1144, 69, 323, 12908, 8, 323, 690, 38967, 198, 3274, 9246, 505, 279, 1121, 627, 2880, 7105, 28409, 1396, 315, 41567, 320, 40389, 505, 279, 2163, 570 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.steamship_image_generation.tool.ModelName.html
42e1218da0ca-8
empty strings from the result. maxsplitMaximum number of splits (starting from the left). -1 (the default value) means no limit. Splitting starts at the end of the string and works to the front. rstrip(chars=None, /)¶ Return a copy of the string with trailing whitespace removed. If chars is given and not None, remove characters in chars instead. split(sep=None, maxsplit=- 1)¶ Return a list of the substrings in the string, using sep as the separator string. sepThe separator used to split the string. When set to None (the default value), will split on any whitespace character (including \n \r \t \f and spaces) and will discard empty strings from the result. maxsplitMaximum number of splits (starting from the left). -1 (the default value) means no limit. Note, str.split() is mainly useful for data that has been intentionally delimited. With natural text that includes punctuation, consider using the regular expression module. splitlines(keepends=False)¶ Return a list of the lines in the string, breaking at line boundaries. Line breaks are not included in the resulting list unless keepends is given and true. startswith(prefix[, start[, end]]) → bool¶ Return True if S starts with the specified prefix, False otherwise. With optional start, test S beginning at that position. With optional end, stop comparing S at that position. prefix can also be a tuple of strings to try. strip(chars=None, /)¶ Return a copy of the string with leading and trailing whitespace removed. If chars is given and not None, remove characters in chars instead. swapcase()¶ Convert uppercase characters to lowercase and lowercase characters to uppercase. title()¶
[ 3274, 9246, 505, 279, 1121, 627, 2880, 7105, 28409, 1396, 315, 41567, 320, 40389, 505, 279, 2163, 4390, 12, 16, 320, 1820, 1670, 907, 8, 3445, 912, 4017, 627, 20805, 1303, 8638, 520, 279, 842, 315, 279, 925, 323, 4375, 311, 279, 4156, 627, 71498, 77306, 5980, 11, 611, 8, 55609, 198, 5715, 264, 3048, 315, 279, 925, 449, 28848, 37472, 7108, 627, 2746, 23861, 374, 2728, 323, 539, 2290, 11, 4148, 5885, 304, 23861, 4619, 627, 7105, 10698, 79, 5980, 11, 1973, 7105, 11065, 220, 16, 8, 55609, 198, 5715, 264, 1160, 315, 279, 16146, 826, 304, 279, 925, 11, 1701, 21693, 439, 279, 25829, 925, 627, 29136, 791, 25829, 1511, 311, 6859, 279, 925, 627, 4599, 743, 311, 2290, 320, 1820, 1670, 907, 705, 690, 6859, 389, 904, 37472, 198, 19740, 320, 16564, 1144, 77, 1144, 81, 1144, 83, 1144, 69, 323, 12908, 8, 323, 690, 38967, 198, 3274, 9246, 505, 279, 1121, 627, 2880, 7105, 28409, 1396, 315, 41567, 320, 40389, 505, 279, 2163, 4390, 12, 16, 320, 1820, 1670, 907, 8, 3445, 912, 4017, 627, 9290, 11, 610, 5402, 368, 374, 14918, 5505, 369, 828, 430, 706, 1027, 37304, 198, 9783, 32611, 13, 220, 3161, 5933, 1495, 430, 5764, 62603, 11, 2980, 1701, 198, 1820, 5912, 7645, 4793, 627, 7105, 8128, 7, 13397, 1438, 5725, 8, 55609, 198, 5715, 264, 1160, 315, 279, 5238, 304, 279, 925, 11, 15061, 520, 1584, 23546, 627, 2519, 18808, 527, 539, 5343, 304, 279, 13239, 1160, 7389, 2567, 1438, 374, 2728, 323, 198, 1904, 627, 70425, 30018, 38372, 1212, 38372, 842, 30716, 11651, 1845, 55609, 198, 5715, 3082, 422, 328, 8638, 449, 279, 5300, 9436, 11, 3641, 6062, 627, 2409, 10309, 1212, 11, 1296, 328, 7314, 520, 430, 2361, 627, 2409, 10309, 842, 11, 3009, 27393, 328, 520, 430, 2361, 627, 12113, 649, 1101, 387, 264, 14743, 315, 9246, 311, 1456, 627, 13406, 77306, 5980, 11, 611, 8, 55609, 198, 5715, 264, 3048, 315, 279, 925, 449, 6522, 323, 28848, 37472, 7108, 627, 2746, 23861, 374, 2728, 323, 539, 2290, 11, 4148, 5885, 304, 23861, 4619, 627, 26825, 5756, 368, 55609, 198, 12281, 40582, 5885, 311, 43147, 323, 43147, 5885, 311, 40582, 627, 2150, 368, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.steamship_image_generation.tool.ModelName.html
42e1218da0ca-9
Convert uppercase characters to lowercase and lowercase characters to uppercase. title()¶ Return a version of the string where each word is titlecased. More specifically, words start with uppercased characters and all remaining cased characters have lower case. translate(table, /)¶ Replace each character in the string using the given translation table. tableTranslation table, which must be a mapping of Unicode ordinals to Unicode ordinals, strings, or None. The table must implement lookup/indexing via __getitem__, for instance a dictionary or list. If this operation raises LookupError, the character is left untouched. Characters mapped to None are deleted. upper()¶ Return a copy of the string converted to uppercase. zfill(width, /)¶ Pad a numeric string with zeros on the left, to fill a field of the given width. The string is never truncated. DALL_E = 'dall-e'¶ STABLE_DIFFUSION = 'stable-diffusion'¶
[ 12281, 40582, 5885, 311, 43147, 323, 43147, 5885, 311, 40582, 627, 2150, 368, 55609, 198, 5715, 264, 2373, 315, 279, 925, 1405, 1855, 3492, 374, 2316, 92226, 627, 7816, 11951, 11, 4339, 1212, 449, 8582, 92226, 5885, 323, 682, 9861, 198, 92226, 5885, 617, 4827, 1162, 627, 14372, 16138, 11, 611, 8, 55609, 198, 23979, 1855, 3752, 304, 279, 925, 1701, 279, 2728, 14807, 2007, 627, 2048, 25416, 2007, 11, 902, 2011, 387, 264, 13021, 315, 36997, 6141, 24624, 311, 198, 35020, 6141, 24624, 11, 9246, 11, 477, 2290, 627, 791, 2007, 2011, 4305, 19128, 9199, 287, 4669, 1328, 61012, 10662, 369, 2937, 264, 198, 36771, 477, 1160, 13, 220, 1442, 420, 5784, 25930, 51411, 1480, 11, 279, 3752, 374, 198, 2414, 68622, 13, 220, 45616, 24784, 311, 2290, 527, 11309, 627, 13886, 368, 55609, 198, 5715, 264, 3048, 315, 279, 925, 16489, 311, 40582, 627, 89, 7712, 16830, 11, 611, 8, 55609, 198, 14047, 264, 25031, 925, 449, 17975, 389, 279, 2163, 11, 311, 5266, 264, 2115, 315, 279, 2728, 2430, 627, 791, 925, 374, 2646, 60856, 627, 35, 4006, 2135, 284, 364, 67, 543, 5773, 6, 55609, 198, 790, 3578, 55084, 2078, 1294, 284, 364, 29092, 1773, 3168, 7713, 6, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.steamship_image_generation.tool.ModelName.html
8ea4c7fb5e68-0
langchain.tools.file_management.write.WriteFileInput¶ class langchain.tools.file_management.write.WriteFileInput(*, file_path: str, text: str, append: bool = False)[source]¶ Bases: BaseModel Input for WriteFileTool. Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param append: bool = False¶ Whether to append to an existing file. param file_path: str [Required]¶ name of file param text: str [Required]¶ text to write to file
[ 5317, 8995, 24029, 9914, 46463, 3921, 4165, 1738, 2566, 55609, 198, 1058, 8859, 8995, 24029, 9914, 46463, 3921, 4165, 1738, 2566, 4163, 11, 1052, 2703, 25, 610, 11, 1495, 25, 610, 11, 8911, 25, 1845, 284, 3641, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 65705, 198, 2566, 369, 9842, 1738, 7896, 627, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 8911, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 8911, 311, 459, 6484, 1052, 627, 913, 1052, 2703, 25, 610, 510, 8327, 60, 55609, 198, 609, 315, 1052, 198, 913, 1495, 25, 610, 510, 8327, 60, 55609, 198, 1342, 311, 3350, 311, 1052 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.file_management.write.WriteFileInput.html
e3da84d834ca-0
langchain.tools.file_management.list_dir.DirectoryListingInput¶ class langchain.tools.file_management.list_dir.DirectoryListingInput(*, dir_path: str = '.')[source]¶ Bases: BaseModel Input for ListDirectoryTool. Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param dir_path: str = '.'¶ Subdirectory to list.
[ 5317, 8995, 24029, 9914, 46463, 6556, 4432, 55207, 53664, 2566, 55609, 198, 1058, 8859, 8995, 24029, 9914, 46463, 6556, 4432, 55207, 53664, 2566, 4163, 11, 5534, 2703, 25, 610, 284, 6389, 13588, 2484, 60, 55609, 198, 33, 2315, 25, 65705, 198, 2566, 369, 1796, 9494, 7896, 627, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 5534, 2703, 25, 610, 284, 25360, 55609, 198, 3214, 23905, 311, 1160, 13 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.file_management.list_dir.DirectoryListingInput.html
9c601415691a-0
langchain.tools.playwright.utils.create_sync_playwright_browser¶ langchain.tools.playwright.utils.create_sync_playwright_browser(headless: bool = True) → SyncBrowser[source]¶ Create a playwright browser. Parameters headless – Whether to run the browser in headless mode. Defaults to True. Returns The playwright browser. Return type SyncBrowser
[ 5317, 8995, 24029, 13269, 53852, 8576, 2581, 23870, 22932, 53852, 54514, 55609, 198, 5317, 8995, 24029, 13269, 53852, 8576, 2581, 23870, 22932, 53852, 54514, 26408, 1752, 25, 1845, 284, 3082, 8, 11651, 30037, 18360, 76747, 60, 55609, 198, 4110, 264, 99468, 7074, 627, 9905, 198, 2025, 1752, 1389, 13440, 311, 1629, 279, 7074, 304, 2010, 1752, 3941, 13, 37090, 311, 3082, 627, 16851, 198, 791, 99468, 7074, 627, 5715, 955, 198, 12430, 18360 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.playwright.utils.create_sync_playwright_browser.html
c5d86e016049-0
langchain.tools.file_management.move.MoveFileTool¶ class langchain.tools.file_management.move.MoveFileTool(*, name: str = 'move_file', description: str = 'Move or rename a file from one location to another', args_schema: ~typing.Type[~pydantic.main.BaseModel] = <class 'langchain.tools.file_management.move.FileMoveInput'>, return_direct: bool = False, verbose: bool = False, callbacks: ~typing.Optional[~typing.Union[~typing.List[~langchain.callbacks.base.BaseCallbackHandler], ~langchain.callbacks.base.BaseCallbackManager]] = None, callback_manager: ~typing.Optional[~langchain.callbacks.base.BaseCallbackManager] = None, handle_tool_error: ~typing.Optional[~typing.Union[bool, str, ~typing.Callable[[~langchain.tools.base.ToolException], str]]] = False, root_dir: ~typing.Optional[str] = None)[source]¶ Bases: BaseFileToolMixin, BaseTool Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param args_schema: Type[pydantic.main.BaseModel] = <class 'langchain.tools.file_management.move.FileMoveInput'>¶ Pydantic model class to validate and parse the tool’s input arguments. param callback_manager: Optional[BaseCallbackManager] = None¶ Deprecated. Please use callbacks instead. param callbacks: Callbacks = None¶ Callbacks to be called during tool execution. param description: str = 'Move or rename a file from one location to another'¶ Used to tell the model how/when/why to use the tool. You can provide few-shot examples as a part of the description. param handle_tool_error: Optional[Union[bool, str, Callable[[ToolException], str]]] = False¶
[ 5317, 8995, 24029, 9914, 46463, 13949, 32295, 1738, 7896, 55609, 198, 1058, 8859, 8995, 24029, 9914, 46463, 13949, 32295, 1738, 7896, 4163, 11, 836, 25, 610, 284, 364, 3479, 2517, 518, 4096, 25, 610, 284, 364, 10061, 477, 30174, 264, 1052, 505, 832, 3813, 311, 2500, 518, 2897, 26443, 25, 4056, 90902, 10394, 58, 93, 3368, 67, 8322, 9056, 13316, 1747, 60, 284, 366, 1058, 364, 5317, 8995, 24029, 9914, 46463, 13949, 8744, 10061, 2566, 6404, 11, 471, 33971, 25, 1845, 284, 3641, 11, 14008, 25, 1845, 284, 3641, 11, 27777, 25, 4056, 90902, 37464, 58, 93, 90902, 10840, 290, 58, 93, 90902, 5937, 58, 93, 5317, 8995, 72134, 9105, 13316, 7646, 3126, 1145, 4056, 5317, 8995, 72134, 9105, 13316, 7646, 2087, 5163, 284, 2290, 11, 4927, 12418, 25, 4056, 90902, 37464, 58, 93, 5317, 8995, 72134, 9105, 13316, 7646, 2087, 60, 284, 2290, 11, 3790, 23627, 4188, 25, 4056, 90902, 37464, 58, 93, 90902, 10840, 290, 58, 2707, 11, 610, 11, 4056, 90902, 28115, 481, 15873, 93, 5317, 8995, 24029, 9105, 25443, 1378, 1145, 610, 5163, 60, 284, 3641, 11, 3789, 4432, 25, 4056, 90902, 37464, 17752, 60, 284, 2290, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 1738, 7896, 39556, 11, 5464, 7896, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 2897, 26443, 25, 4078, 58, 3368, 67, 8322, 9056, 13316, 1747, 60, 284, 366, 1058, 364, 5317, 8995, 24029, 9914, 46463, 13949, 8744, 10061, 2566, 6404, 55609, 198, 14149, 67, 8322, 1646, 538, 311, 9788, 323, 4820, 279, 5507, 753, 1988, 6105, 627, 913, 4927, 12418, 25, 12536, 58, 4066, 7646, 2087, 60, 284, 2290, 55609, 198, 52444, 13, 5321, 1005, 27777, 4619, 627, 913, 27777, 25, 23499, 82, 284, 2290, 55609, 198, 45561, 311, 387, 2663, 2391, 5507, 11572, 627, 913, 4096, 25, 610, 284, 364, 10061, 477, 30174, 264, 1052, 505, 832, 3813, 311, 2500, 6, 55609, 198, 23580, 311, 3371, 279, 1646, 1268, 14, 9493, 14, 35734, 311, 1005, 279, 5507, 627, 2675, 649, 3493, 2478, 64630, 10507, 439, 264, 961, 315, 279, 4096, 627, 913, 3790, 23627, 4188, 25, 12536, 58, 33758, 58, 2707, 11, 610, 11, 54223, 15873, 7896, 1378, 1145, 610, 5163, 60, 284, 3641, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.file_management.move.MoveFileTool.html
c5d86e016049-1
Handle the content of the ToolException thrown. param name: str = 'move_file'¶ The unique name of the tool that clearly communicates its purpose. param return_direct: bool = False¶ Whether to return the tool’s output directly. Setting this to True means that after the tool is called, the AgentExecutor will stop looping. param root_dir: Optional[str] = None¶ The final path will be chosen relative to root_dir if specified. param verbose: bool = False¶ Whether to log the tool’s progress. __call__(tool_input: str, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None) → str¶ Make tool callable. async arun(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool asynchronously. get_relative_path(file_path: str) → Path¶ Get the relative path, returning an error if unsupported. validator raise_deprecation  »  all fields¶ Raise deprecation warning if callback_manager is used. run(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool. property args: dict¶ property is_single_input: bool¶ Whether the tool only accepts a single input. model Config¶ Bases: object Configuration for this pydantic object. arbitrary_types_allowed = True¶ extra = 'forbid'¶
[ 7144, 279, 2262, 315, 279, 13782, 1378, 15338, 627, 913, 836, 25, 610, 284, 364, 3479, 2517, 6, 55609, 198, 791, 5016, 836, 315, 279, 5507, 430, 9539, 92606, 1202, 7580, 627, 913, 471, 33971, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 471, 279, 5507, 753, 2612, 6089, 13, 20638, 420, 311, 3082, 3445, 198, 9210, 1306, 279, 5507, 374, 2663, 11, 279, 21372, 26321, 690, 3009, 63687, 627, 913, 3789, 4432, 25, 12536, 17752, 60, 284, 2290, 55609, 198, 791, 1620, 1853, 690, 387, 12146, 8844, 311, 3789, 4432, 422, 5300, 627, 913, 14008, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 1515, 279, 5507, 753, 5208, 627, 565, 6797, 3889, 14506, 6022, 25, 610, 11, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 8, 11651, 610, 55609, 198, 8238, 5507, 42022, 627, 7847, 802, 359, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 68881, 627, 456, 30386, 2703, 4971, 2703, 25, 610, 8, 11651, 8092, 55609, 198, 1991, 279, 8844, 1853, 11, 13758, 459, 1493, 422, 41509, 627, 16503, 4933, 2310, 70693, 4194, 8345, 4194, 682, 5151, 55609, 198, 94201, 409, 70693, 10163, 422, 4927, 12418, 374, 1511, 627, 6236, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 627, 3784, 2897, 25, 6587, 55609, 198, 3784, 374, 20052, 6022, 25, 1845, 55609, 198, 25729, 279, 5507, 1193, 27441, 264, 3254, 1988, 627, 2590, 5649, 55609, 198, 33, 2315, 25, 1665, 198, 7843, 369, 420, 4611, 67, 8322, 1665, 627, 277, 88951, 9962, 43255, 284, 3082, 55609, 198, 15824, 284, 364, 2000, 21301, 6, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.file_management.move.MoveFileTool.html
156a2beaa686-0
langchain.tools.spark_sql.tool.BaseSparkSQLTool¶ class langchain.tools.spark_sql.tool.BaseSparkSQLTool(*, db: SparkSQL)[source]¶ Bases: BaseModel Base tool for interacting with Spark SQL. Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param db: langchain.utilities.spark_sql.SparkSQL [Required]¶ model Config[source]¶ Bases: Config Configuration for this pydantic object. arbitrary_types_allowed = True¶ extra = 'forbid'¶
[ 5317, 8995, 24029, 33646, 18554, 21966, 13316, 68583, 6827, 7896, 55609, 198, 1058, 8859, 8995, 24029, 33646, 18554, 21966, 13316, 68583, 6827, 7896, 4163, 11, 3000, 25, 27565, 6827, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 65705, 198, 4066, 5507, 369, 45830, 449, 27565, 8029, 627, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 3000, 25, 8859, 8995, 63795, 33646, 18554, 815, 29836, 6827, 510, 8327, 60, 55609, 198, 2590, 5649, 76747, 60, 55609, 198, 33, 2315, 25, 5649, 198, 7843, 369, 420, 4611, 67, 8322, 1665, 627, 277, 88951, 9962, 43255, 284, 3082, 55609, 198, 15824, 284, 364, 2000, 21301, 6, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.spark_sql.tool.BaseSparkSQLTool.html
7a84bfcadf8b-0
langchain.tools.file_management.copy.CopyFileTool¶ class langchain.tools.file_management.copy.CopyFileTool(*, name: str = 'copy_file', description: str = 'Create a copy of a file in a specified location', args_schema: ~typing.Type[~pydantic.main.BaseModel] = <class 'langchain.tools.file_management.copy.FileCopyInput'>, return_direct: bool = False, verbose: bool = False, callbacks: ~typing.Optional[~typing.Union[~typing.List[~langchain.callbacks.base.BaseCallbackHandler], ~langchain.callbacks.base.BaseCallbackManager]] = None, callback_manager: ~typing.Optional[~langchain.callbacks.base.BaseCallbackManager] = None, handle_tool_error: ~typing.Optional[~typing.Union[bool, str, ~typing.Callable[[~langchain.tools.base.ToolException], str]]] = False, root_dir: ~typing.Optional[str] = None)[source]¶ Bases: BaseFileToolMixin, BaseTool Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param args_schema: Type[pydantic.main.BaseModel] = <class 'langchain.tools.file_management.copy.FileCopyInput'>¶ Pydantic model class to validate and parse the tool’s input arguments. param callback_manager: Optional[BaseCallbackManager] = None¶ Deprecated. Please use callbacks instead. param callbacks: Callbacks = None¶ Callbacks to be called during tool execution. param description: str = 'Create a copy of a file in a specified location'¶ Used to tell the model how/when/why to use the tool. You can provide few-shot examples as a part of the description. param handle_tool_error: Optional[Union[bool, str, Callable[[ToolException], str]]] = False¶
[ 5317, 8995, 24029, 9914, 46463, 12511, 32870, 1738, 7896, 55609, 198, 1058, 8859, 8995, 24029, 9914, 46463, 12511, 32870, 1738, 7896, 4163, 11, 836, 25, 610, 284, 364, 8728, 2517, 518, 4096, 25, 610, 284, 364, 4110, 264, 3048, 315, 264, 1052, 304, 264, 5300, 3813, 518, 2897, 26443, 25, 4056, 90902, 10394, 58, 93, 3368, 67, 8322, 9056, 13316, 1747, 60, 284, 366, 1058, 364, 5317, 8995, 24029, 9914, 46463, 12511, 8744, 12379, 2566, 6404, 11, 471, 33971, 25, 1845, 284, 3641, 11, 14008, 25, 1845, 284, 3641, 11, 27777, 25, 4056, 90902, 37464, 58, 93, 90902, 10840, 290, 58, 93, 90902, 5937, 58, 93, 5317, 8995, 72134, 9105, 13316, 7646, 3126, 1145, 4056, 5317, 8995, 72134, 9105, 13316, 7646, 2087, 5163, 284, 2290, 11, 4927, 12418, 25, 4056, 90902, 37464, 58, 93, 5317, 8995, 72134, 9105, 13316, 7646, 2087, 60, 284, 2290, 11, 3790, 23627, 4188, 25, 4056, 90902, 37464, 58, 93, 90902, 10840, 290, 58, 2707, 11, 610, 11, 4056, 90902, 28115, 481, 15873, 93, 5317, 8995, 24029, 9105, 25443, 1378, 1145, 610, 5163, 60, 284, 3641, 11, 3789, 4432, 25, 4056, 90902, 37464, 17752, 60, 284, 2290, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 1738, 7896, 39556, 11, 5464, 7896, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 2897, 26443, 25, 4078, 58, 3368, 67, 8322, 9056, 13316, 1747, 60, 284, 366, 1058, 364, 5317, 8995, 24029, 9914, 46463, 12511, 8744, 12379, 2566, 6404, 55609, 198, 14149, 67, 8322, 1646, 538, 311, 9788, 323, 4820, 279, 5507, 753, 1988, 6105, 627, 913, 4927, 12418, 25, 12536, 58, 4066, 7646, 2087, 60, 284, 2290, 55609, 198, 52444, 13, 5321, 1005, 27777, 4619, 627, 913, 27777, 25, 23499, 82, 284, 2290, 55609, 198, 45561, 311, 387, 2663, 2391, 5507, 11572, 627, 913, 4096, 25, 610, 284, 364, 4110, 264, 3048, 315, 264, 1052, 304, 264, 5300, 3813, 6, 55609, 198, 23580, 311, 3371, 279, 1646, 1268, 14, 9493, 14, 35734, 311, 1005, 279, 5507, 627, 2675, 649, 3493, 2478, 64630, 10507, 439, 264, 961, 315, 279, 4096, 627, 913, 3790, 23627, 4188, 25, 12536, 58, 33758, 58, 2707, 11, 610, 11, 54223, 15873, 7896, 1378, 1145, 610, 5163, 60, 284, 3641, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.file_management.copy.CopyFileTool.html
7a84bfcadf8b-1
Handle the content of the ToolException thrown. param name: str = 'copy_file'¶ The unique name of the tool that clearly communicates its purpose. param return_direct: bool = False¶ Whether to return the tool’s output directly. Setting this to True means that after the tool is called, the AgentExecutor will stop looping. param root_dir: Optional[str] = None¶ The final path will be chosen relative to root_dir if specified. param verbose: bool = False¶ Whether to log the tool’s progress. __call__(tool_input: str, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None) → str¶ Make tool callable. async arun(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool asynchronously. get_relative_path(file_path: str) → Path¶ Get the relative path, returning an error if unsupported. validator raise_deprecation  »  all fields¶ Raise deprecation warning if callback_manager is used. run(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool. property args: dict¶ property is_single_input: bool¶ Whether the tool only accepts a single input. model Config¶ Bases: object Configuration for this pydantic object. arbitrary_types_allowed = True¶ extra = 'forbid'¶
[ 7144, 279, 2262, 315, 279, 13782, 1378, 15338, 627, 913, 836, 25, 610, 284, 364, 8728, 2517, 6, 55609, 198, 791, 5016, 836, 315, 279, 5507, 430, 9539, 92606, 1202, 7580, 627, 913, 471, 33971, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 471, 279, 5507, 753, 2612, 6089, 13, 20638, 420, 311, 3082, 3445, 198, 9210, 1306, 279, 5507, 374, 2663, 11, 279, 21372, 26321, 690, 3009, 63687, 627, 913, 3789, 4432, 25, 12536, 17752, 60, 284, 2290, 55609, 198, 791, 1620, 1853, 690, 387, 12146, 8844, 311, 3789, 4432, 422, 5300, 627, 913, 14008, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 1515, 279, 5507, 753, 5208, 627, 565, 6797, 3889, 14506, 6022, 25, 610, 11, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 8, 11651, 610, 55609, 198, 8238, 5507, 42022, 627, 7847, 802, 359, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 68881, 627, 456, 30386, 2703, 4971, 2703, 25, 610, 8, 11651, 8092, 55609, 198, 1991, 279, 8844, 1853, 11, 13758, 459, 1493, 422, 41509, 627, 16503, 4933, 2310, 70693, 4194, 8345, 4194, 682, 5151, 55609, 198, 94201, 409, 70693, 10163, 422, 4927, 12418, 374, 1511, 627, 6236, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 627, 3784, 2897, 25, 6587, 55609, 198, 3784, 374, 20052, 6022, 25, 1845, 55609, 198, 25729, 279, 5507, 1193, 27441, 264, 3254, 1988, 627, 2590, 5649, 55609, 198, 33, 2315, 25, 1665, 198, 7843, 369, 420, 4611, 67, 8322, 1665, 627, 277, 88951, 9962, 43255, 284, 3082, 55609, 198, 15824, 284, 364, 2000, 21301, 6, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.file_management.copy.CopyFileTool.html
4b67d59f9f58-0
langchain.tools.requests.tool.RequestsPutTool¶ class langchain.tools.requests.tool.RequestsPutTool(*, name: str = 'requests_put', description: str = 'Use this when you want to PUT to a website.\n    Input should be a json string with two keys: "url" and "data".\n    The value of "url" should be a string, and the value of "data" should be a dictionary of \n    key-value pairs you want to PUT to the url.\n    Be careful to always use double quotes for strings in the json string.\n    The output will be the text response of the PUT request.\n    ', args_schema: Optional[Type[BaseModel]] = None, return_direct: bool = False, verbose: bool = False, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, callback_manager: Optional[BaseCallbackManager] = None, handle_tool_error: Optional[Union[bool, str, Callable[[ToolException], str]]] = False, requests_wrapper: TextRequestsWrapper)[source]¶ Bases: BaseRequestsTool, BaseTool Tool for making a PUT request to an API endpoint. Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param args_schema: Optional[Type[BaseModel]] = None¶ Pydantic model class to validate and parse the tool’s input arguments. param callback_manager: Optional[BaseCallbackManager] = None¶ Deprecated. Please use callbacks instead. param callbacks: Callbacks = None¶ Callbacks to be called during tool execution.
[ 5317, 8995, 24029, 68771, 21966, 9856, 82, 19648, 7896, 55609, 198, 1058, 8859, 8995, 24029, 68771, 21966, 9856, 82, 19648, 7896, 4163, 11, 836, 25, 610, 284, 364, 37342, 15927, 518, 4096, 25, 610, 284, 364, 10464, 420, 994, 499, 1390, 311, 35480, 311, 264, 3997, 7255, 77, 46493, 5688, 1288, 387, 264, 3024, 925, 449, 1403, 7039, 25, 330, 1103, 1, 323, 330, 695, 3343, 59, 77, 46493, 578, 907, 315, 330, 1103, 1, 1288, 387, 264, 925, 11, 323, 279, 907, 315, 330, 695, 1, 1288, 387, 264, 11240, 315, 1144, 77, 46493, 1401, 19625, 13840, 499, 1390, 311, 35480, 311, 279, 2576, 7255, 77, 46493, 2893, 16994, 311, 2744, 1005, 2033, 17637, 369, 9246, 304, 279, 3024, 925, 7255, 77, 46493, 578, 2612, 690, 387, 279, 1495, 2077, 315, 279, 35480, 1715, 7255, 77, 46493, 6752, 2897, 26443, 25, 12536, 58, 941, 58, 4066, 1747, 5163, 284, 2290, 11, 471, 33971, 25, 1845, 284, 3641, 11, 14008, 25, 1845, 284, 3641, 11, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 4927, 12418, 25, 12536, 58, 4066, 7646, 2087, 60, 284, 2290, 11, 3790, 23627, 4188, 25, 12536, 58, 33758, 58, 2707, 11, 610, 11, 54223, 15873, 7896, 1378, 1145, 610, 5163, 60, 284, 3641, 11, 7540, 24474, 25, 2991, 36395, 11803, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 36395, 7896, 11, 5464, 7896, 198, 7896, 369, 3339, 264, 35480, 1715, 311, 459, 5446, 15233, 627, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 2897, 26443, 25, 12536, 58, 941, 58, 4066, 1747, 5163, 284, 2290, 55609, 198, 14149, 67, 8322, 1646, 538, 311, 9788, 323, 4820, 279, 5507, 753, 1988, 6105, 627, 913, 4927, 12418, 25, 12536, 58, 4066, 7646, 2087, 60, 284, 2290, 55609, 198, 52444, 13, 5321, 1005, 27777, 4619, 627, 913, 27777, 25, 23499, 82, 284, 2290, 55609, 198, 45561, 311, 387, 2663, 2391, 5507, 11572, 13 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.requests.tool.RequestsPutTool.html
4b67d59f9f58-1
param callbacks: Callbacks = None¶ Callbacks to be called during tool execution. param description: str = 'Use this when you want to PUT to a website.\n    Input should be a json string with two keys: "url" and "data".\n    The value of "url" should be a string, and the value of "data" should be a dictionary of \n    key-value pairs you want to PUT to the url.\n    Be careful to always use double quotes for strings in the json string.\n    The output will be the text response of the PUT request.\n    '¶ Used to tell the model how/when/why to use the tool. You can provide few-shot examples as a part of the description. param handle_tool_error: Optional[Union[bool, str, Callable[[ToolException], str]]] = False¶ Handle the content of the ToolException thrown. param name: str = 'requests_put'¶ The unique name of the tool that clearly communicates its purpose. param requests_wrapper: langchain.requests.TextRequestsWrapper [Required]¶ param return_direct: bool = False¶ Whether to return the tool’s output directly. Setting this to True means that after the tool is called, the AgentExecutor will stop looping. param verbose: bool = False¶ Whether to log the tool’s progress. __call__(tool_input: str, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None) → str¶ Make tool callable. async arun(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool asynchronously.
[ 913, 27777, 25, 23499, 82, 284, 2290, 55609, 198, 45561, 311, 387, 2663, 2391, 5507, 11572, 627, 913, 4096, 25, 610, 284, 364, 10464, 420, 994, 499, 1390, 311, 35480, 311, 264, 3997, 7255, 77, 46493, 5688, 1288, 387, 264, 3024, 925, 449, 1403, 7039, 25, 330, 1103, 1, 323, 330, 695, 3343, 59, 77, 46493, 578, 907, 315, 330, 1103, 1, 1288, 387, 264, 925, 11, 323, 279, 907, 315, 330, 695, 1, 1288, 387, 264, 11240, 315, 1144, 77, 46493, 1401, 19625, 13840, 499, 1390, 311, 35480, 311, 279, 2576, 7255, 77, 46493, 2893, 16994, 311, 2744, 1005, 2033, 17637, 369, 9246, 304, 279, 3024, 925, 7255, 77, 46493, 578, 2612, 690, 387, 279, 1495, 2077, 315, 279, 35480, 1715, 7255, 77, 46493, 364, 55609, 198, 23580, 311, 3371, 279, 1646, 1268, 14, 9493, 14, 35734, 311, 1005, 279, 5507, 627, 2675, 649, 3493, 2478, 64630, 10507, 439, 264, 961, 315, 279, 4096, 627, 913, 3790, 23627, 4188, 25, 12536, 58, 33758, 58, 2707, 11, 610, 11, 54223, 15873, 7896, 1378, 1145, 610, 5163, 60, 284, 3641, 55609, 198, 7144, 279, 2262, 315, 279, 13782, 1378, 15338, 627, 913, 836, 25, 610, 284, 364, 37342, 15927, 6, 55609, 198, 791, 5016, 836, 315, 279, 5507, 430, 9539, 92606, 1202, 7580, 627, 913, 7540, 24474, 25, 8859, 8995, 68771, 2021, 36395, 11803, 510, 8327, 60, 55609, 198, 913, 471, 33971, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 471, 279, 5507, 753, 2612, 6089, 13, 20638, 420, 311, 3082, 3445, 198, 9210, 1306, 279, 5507, 374, 2663, 11, 279, 21372, 26321, 690, 3009, 63687, 627, 913, 14008, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 1515, 279, 5507, 753, 5208, 627, 565, 6797, 3889, 14506, 6022, 25, 610, 11, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 8, 11651, 610, 55609, 198, 8238, 5507, 42022, 627, 7847, 802, 359, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 68881, 13 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.requests.tool.RequestsPutTool.html
4b67d59f9f58-2
Run the tool asynchronously. validator raise_deprecation  »  all fields¶ Raise deprecation warning if callback_manager is used. run(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool. property args: dict¶ property is_single_input: bool¶ Whether the tool only accepts a single input. model Config¶ Bases: object Configuration for this pydantic object. arbitrary_types_allowed = True¶ extra = 'forbid'¶
[ 6869, 279, 5507, 68881, 627, 16503, 4933, 2310, 70693, 4194, 8345, 4194, 682, 5151, 55609, 198, 94201, 409, 70693, 10163, 422, 4927, 12418, 374, 1511, 627, 6236, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 627, 3784, 2897, 25, 6587, 55609, 198, 3784, 374, 20052, 6022, 25, 1845, 55609, 198, 25729, 279, 5507, 1193, 27441, 264, 3254, 1988, 627, 2590, 5649, 55609, 198, 33, 2315, 25, 1665, 198, 7843, 369, 420, 4611, 67, 8322, 1665, 627, 277, 88951, 9962, 43255, 284, 3082, 55609, 198, 15824, 284, 364, 2000, 21301, 6, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.requests.tool.RequestsPutTool.html
504d5bd26e97-0
langchain.tools.file_management.file_search.FileSearchInput¶ class langchain.tools.file_management.file_search.FileSearchInput(*, dir_path: str = '.', pattern: str)[source]¶ Bases: BaseModel Input for FileSearchTool. Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param dir_path: str = '.'¶ Subdirectory to search in. param pattern: str [Required]¶ Unix shell regex, where * matches everything.
[ 5317, 8995, 24029, 9914, 46463, 9914, 10947, 8744, 6014, 2566, 55609, 198, 1058, 8859, 8995, 24029, 9914, 46463, 9914, 10947, 8744, 6014, 2566, 4163, 11, 5534, 2703, 25, 610, 284, 46769, 5497, 25, 610, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 65705, 198, 2566, 369, 2958, 6014, 7896, 627, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 5534, 2703, 25, 610, 284, 25360, 55609, 198, 3214, 23905, 311, 2778, 304, 627, 913, 5497, 25, 610, 510, 8327, 60, 55609, 198, 56932, 12811, 20791, 11, 1405, 353, 9248, 4395, 13 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.file_management.file_search.FileSearchInput.html
9e1799390656-0
langchain.tools.gmail.utils.import_installed_app_flow¶ langchain.tools.gmail.utils.import_installed_app_flow() → InstalledAppFlow[source]¶ Import InstalledAppFlow class. Returns InstalledAppFlow class. Return type InstalledAppFlow
[ 5317, 8995, 24029, 73054, 8576, 35997, 80165, 8354, 28541, 55609, 198, 5317, 8995, 24029, 73054, 8576, 35997, 80165, 8354, 28541, 368, 11651, 99177, 2213, 19410, 76747, 60, 55609, 198, 11772, 99177, 2213, 19410, 538, 627, 16851, 198, 61900, 2213, 19410, 538, 627, 5715, 955, 198, 61900, 2213, 19410 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.gmail.utils.import_installed_app_flow.html
b018ced715b7-0
langchain.tools.playwright.extract_hyperlinks.ExtractHyperlinksTool¶ class langchain.tools.playwright.extract_hyperlinks.ExtractHyperlinksTool(*, name: str = 'extract_hyperlinks', description: str = 'Extract all hyperlinks on the current webpage', args_schema: ~typing.Type[~pydantic.main.BaseModel] = <class 'langchain.tools.playwright.extract_hyperlinks.ExtractHyperlinksToolInput'>, return_direct: bool = False, verbose: bool = False, callbacks: ~typing.Optional[~typing.Union[~typing.List[~langchain.callbacks.base.BaseCallbackHandler], ~langchain.callbacks.base.BaseCallbackManager]] = None, callback_manager: ~typing.Optional[~langchain.callbacks.base.BaseCallbackManager] = None, handle_tool_error: ~typing.Optional[~typing.Union[bool, str, ~typing.Callable[[~langchain.tools.base.ToolException], str]]] = False, sync_browser: Optional['SyncBrowser'] = None, async_browser: Optional['AsyncBrowser'] = None)[source]¶ Bases: BaseBrowserTool Extract all hyperlinks on the page. Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param args_schema: Type[BaseModel] = <class 'langchain.tools.playwright.extract_hyperlinks.ExtractHyperlinksToolInput'>¶ Pydantic model class to validate and parse the tool’s input arguments. param async_browser: Optional['AsyncBrowser'] = None¶ param callback_manager: Optional[BaseCallbackManager] = None¶ Deprecated. Please use callbacks instead. param callbacks: Callbacks = None¶ Callbacks to be called during tool execution. param description: str = 'Extract all hyperlinks on the current webpage'¶
[ 5317, 8995, 24029, 13269, 53852, 38458, 94516, 16259, 5231, 2193, 75046, 16259, 7896, 55609, 198, 1058, 8859, 8995, 24029, 13269, 53852, 38458, 94516, 16259, 5231, 2193, 75046, 16259, 7896, 4163, 11, 836, 25, 610, 284, 364, 24396, 94516, 16259, 518, 4096, 25, 610, 284, 364, 30059, 682, 17508, 16259, 389, 279, 1510, 45710, 518, 2897, 26443, 25, 4056, 90902, 10394, 58, 93, 3368, 67, 8322, 9056, 13316, 1747, 60, 284, 366, 1058, 364, 5317, 8995, 24029, 13269, 53852, 38458, 94516, 16259, 5231, 2193, 75046, 16259, 7896, 2566, 6404, 11, 471, 33971, 25, 1845, 284, 3641, 11, 14008, 25, 1845, 284, 3641, 11, 27777, 25, 4056, 90902, 37464, 58, 93, 90902, 10840, 290, 58, 93, 90902, 5937, 58, 93, 5317, 8995, 72134, 9105, 13316, 7646, 3126, 1145, 4056, 5317, 8995, 72134, 9105, 13316, 7646, 2087, 5163, 284, 2290, 11, 4927, 12418, 25, 4056, 90902, 37464, 58, 93, 5317, 8995, 72134, 9105, 13316, 7646, 2087, 60, 284, 2290, 11, 3790, 23627, 4188, 25, 4056, 90902, 37464, 58, 93, 90902, 10840, 290, 58, 2707, 11, 610, 11, 4056, 90902, 28115, 481, 15873, 93, 5317, 8995, 24029, 9105, 25443, 1378, 1145, 610, 5163, 60, 284, 3641, 11, 13105, 54514, 25, 12536, 681, 12430, 18360, 663, 284, 2290, 11, 3393, 54514, 25, 12536, 681, 6662, 18360, 663, 284, 2290, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 18360, 7896, 198, 30059, 682, 17508, 16259, 389, 279, 2199, 627, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 2897, 26443, 25, 4078, 58, 4066, 1747, 60, 284, 366, 1058, 364, 5317, 8995, 24029, 13269, 53852, 38458, 94516, 16259, 5231, 2193, 75046, 16259, 7896, 2566, 6404, 55609, 198, 14149, 67, 8322, 1646, 538, 311, 9788, 323, 4820, 279, 5507, 753, 1988, 6105, 627, 913, 3393, 54514, 25, 12536, 681, 6662, 18360, 663, 284, 2290, 55609, 198, 913, 4927, 12418, 25, 12536, 58, 4066, 7646, 2087, 60, 284, 2290, 55609, 198, 52444, 13, 5321, 1005, 27777, 4619, 627, 913, 27777, 25, 23499, 82, 284, 2290, 55609, 198, 45561, 311, 387, 2663, 2391, 5507, 11572, 627, 913, 4096, 25, 610, 284, 364, 30059, 682, 17508, 16259, 389, 279, 1510, 45710, 6, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.playwright.extract_hyperlinks.ExtractHyperlinksTool.html
b018ced715b7-1
param description: str = 'Extract all hyperlinks on the current webpage'¶ Used to tell the model how/when/why to use the tool. You can provide few-shot examples as a part of the description. param handle_tool_error: Optional[Union[bool, str, Callable[[ToolException], str]]] = False¶ Handle the content of the ToolException thrown. param name: str = 'extract_hyperlinks'¶ The unique name of the tool that clearly communicates its purpose. param return_direct: bool = False¶ Whether to return the tool’s output directly. Setting this to True means that after the tool is called, the AgentExecutor will stop looping. param sync_browser: Optional['SyncBrowser'] = None¶ param verbose: bool = False¶ Whether to log the tool’s progress. __call__(tool_input: str, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None) → str¶ Make tool callable. async arun(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool asynchronously. validator check_bs_import  »  all fields[source]¶ Check that the arguments are valid. classmethod from_browser(sync_browser: Optional[SyncBrowser] = None, async_browser: Optional[AsyncBrowser] = None) → BaseBrowserTool¶ Instantiate the tool. validator raise_deprecation  »  all fields¶ Raise deprecation warning if callback_manager is used.
[ 913, 4096, 25, 610, 284, 364, 30059, 682, 17508, 16259, 389, 279, 1510, 45710, 6, 55609, 198, 23580, 311, 3371, 279, 1646, 1268, 14, 9493, 14, 35734, 311, 1005, 279, 5507, 627, 2675, 649, 3493, 2478, 64630, 10507, 439, 264, 961, 315, 279, 4096, 627, 913, 3790, 23627, 4188, 25, 12536, 58, 33758, 58, 2707, 11, 610, 11, 54223, 15873, 7896, 1378, 1145, 610, 5163, 60, 284, 3641, 55609, 198, 7144, 279, 2262, 315, 279, 13782, 1378, 15338, 627, 913, 836, 25, 610, 284, 364, 24396, 94516, 16259, 6, 55609, 198, 791, 5016, 836, 315, 279, 5507, 430, 9539, 92606, 1202, 7580, 627, 913, 471, 33971, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 471, 279, 5507, 753, 2612, 6089, 13, 20638, 420, 311, 3082, 3445, 198, 9210, 1306, 279, 5507, 374, 2663, 11, 279, 21372, 26321, 690, 3009, 63687, 627, 913, 13105, 54514, 25, 12536, 681, 12430, 18360, 663, 284, 2290, 55609, 198, 913, 14008, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 1515, 279, 5507, 753, 5208, 627, 565, 6797, 3889, 14506, 6022, 25, 610, 11, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 8, 11651, 610, 55609, 198, 8238, 5507, 42022, 627, 7847, 802, 359, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 68881, 627, 16503, 1817, 69650, 18941, 4194, 8345, 4194, 682, 5151, 76747, 60, 55609, 198, 4061, 430, 279, 6105, 527, 2764, 627, 27853, 505, 54514, 98333, 54514, 25, 12536, 58, 12430, 18360, 60, 284, 2290, 11, 3393, 54514, 25, 12536, 58, 6662, 18360, 60, 284, 2290, 8, 11651, 5464, 18360, 7896, 55609, 198, 81651, 279, 5507, 627, 16503, 4933, 2310, 70693, 4194, 8345, 4194, 682, 5151, 55609, 198, 94201, 409, 70693, 10163, 422, 4927, 12418, 374, 1511, 13 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.playwright.extract_hyperlinks.ExtractHyperlinksTool.html
b018ced715b7-2
Raise deprecation warning if callback_manager is used. run(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool. static scrape_page(page: Any, html_content: str, absolute_urls: bool) → str[source]¶ validator validate_browser_provided  »  all fields¶ Check that the arguments are valid. property args: dict¶ property is_single_input: bool¶ Whether the tool only accepts a single input. model Config¶ Bases: object Configuration for this pydantic object. arbitrary_types_allowed = True¶ extra = 'forbid'¶
[ 94201, 409, 70693, 10163, 422, 4927, 12418, 374, 1511, 627, 6236, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 627, 2020, 58228, 6257, 12293, 25, 5884, 11, 5385, 7647, 25, 610, 11, 10973, 33922, 25, 1845, 8, 11651, 610, 76747, 60, 55609, 198, 16503, 9788, 54514, 2602, 44057, 4194, 8345, 4194, 682, 5151, 55609, 198, 4061, 430, 279, 6105, 527, 2764, 627, 3784, 2897, 25, 6587, 55609, 198, 3784, 374, 20052, 6022, 25, 1845, 55609, 198, 25729, 279, 5507, 1193, 27441, 264, 3254, 1988, 627, 2590, 5649, 55609, 198, 33, 2315, 25, 1665, 198, 7843, 369, 420, 4611, 67, 8322, 1665, 627, 277, 88951, 9962, 43255, 284, 3082, 55609, 198, 15824, 284, 364, 2000, 21301, 6, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.playwright.extract_hyperlinks.ExtractHyperlinksTool.html
e521300bbde9-0
langchain.tools.ddg_search.tool.DuckDuckGoSearchResults¶ class langchain.tools.ddg_search.tool.DuckDuckGoSearchResults(*, name: str = 'DuckDuckGo Results JSON', description: str = 'A wrapper around Duck Duck Go Search. Useful for when you need to answer questions about current events. Input should be a search query. Output is a JSON array of the query results', args_schema: Optional[Type[BaseModel]] = None, return_direct: bool = False, verbose: bool = False, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, callback_manager: Optional[BaseCallbackManager] = None, handle_tool_error: Optional[Union[bool, str, Callable[[ToolException], str]]] = False, num_results: int = 4, api_wrapper: DuckDuckGoSearchAPIWrapper = None)[source]¶ Bases: BaseTool Tool that queries the Duck Duck Go Search API and get back json. Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param api_wrapper: langchain.utilities.duckduckgo_search.DuckDuckGoSearchAPIWrapper [Optional]¶ param args_schema: Optional[Type[BaseModel]] = None¶ Pydantic model class to validate and parse the tool’s input arguments. param callback_manager: Optional[BaseCallbackManager] = None¶ Deprecated. Please use callbacks instead. param callbacks: Callbacks = None¶ Callbacks to be called during tool execution. param description: str = 'A wrapper around Duck Duck Go Search. Useful for when you need to answer questions about current events. Input should be a search query. Output is a JSON array of the query results'¶
[ 5317, 8995, 24029, 57742, 70, 10947, 21966, 920, 1983, 35, 1983, 11087, 6014, 10001, 55609, 198, 1058, 8859, 8995, 24029, 57742, 70, 10947, 21966, 920, 1983, 35, 1983, 11087, 6014, 10001, 4163, 11, 836, 25, 610, 284, 364, 35, 1983, 35, 1983, 11087, 18591, 4823, 518, 4096, 25, 610, 284, 364, 32, 13564, 2212, 46870, 46870, 6122, 7694, 13, 51612, 369, 994, 499, 1205, 311, 4320, 4860, 922, 1510, 4455, 13, 5688, 1288, 387, 264, 2778, 3319, 13, 9442, 374, 264, 4823, 1358, 315, 279, 3319, 3135, 518, 2897, 26443, 25, 12536, 58, 941, 58, 4066, 1747, 5163, 284, 2290, 11, 471, 33971, 25, 1845, 284, 3641, 11, 14008, 25, 1845, 284, 3641, 11, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 4927, 12418, 25, 12536, 58, 4066, 7646, 2087, 60, 284, 2290, 11, 3790, 23627, 4188, 25, 12536, 58, 33758, 58, 2707, 11, 610, 11, 54223, 15873, 7896, 1378, 1145, 610, 5163, 60, 284, 3641, 11, 1661, 13888, 25, 528, 284, 220, 19, 11, 6464, 24474, 25, 46870, 35, 1983, 11087, 6014, 7227, 11803, 284, 2290, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 7896, 198, 7896, 430, 20126, 279, 46870, 46870, 6122, 7694, 5446, 323, 636, 1203, 3024, 627, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 6464, 24474, 25, 8859, 8995, 63795, 962, 1983, 74070, 3427, 10947, 920, 1983, 35, 1983, 11087, 6014, 7227, 11803, 510, 15669, 60, 55609, 198, 913, 2897, 26443, 25, 12536, 58, 941, 58, 4066, 1747, 5163, 284, 2290, 55609, 198, 14149, 67, 8322, 1646, 538, 311, 9788, 323, 4820, 279, 5507, 753, 1988, 6105, 627, 913, 4927, 12418, 25, 12536, 58, 4066, 7646, 2087, 60, 284, 2290, 55609, 198, 52444, 13, 5321, 1005, 27777, 4619, 627, 913, 27777, 25, 23499, 82, 284, 2290, 55609, 198, 45561, 311, 387, 2663, 2391, 5507, 11572, 627, 913, 4096, 25, 610, 284, 364, 32, 13564, 2212, 46870, 46870, 6122, 7694, 13, 51612, 369, 994, 499, 1205, 311, 4320, 4860, 922, 1510, 4455, 13, 5688, 1288, 387, 264, 2778, 3319, 13, 9442, 374, 264, 4823, 1358, 315, 279, 3319, 3135, 6, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.ddg_search.tool.DuckDuckGoSearchResults.html
e521300bbde9-1
Used to tell the model how/when/why to use the tool. You can provide few-shot examples as a part of the description. param handle_tool_error: Optional[Union[bool, str, Callable[[ToolException], str]]] = False¶ Handle the content of the ToolException thrown. param name: str = 'DuckDuckGo Results JSON'¶ The unique name of the tool that clearly communicates its purpose. param num_results: int = 4¶ param return_direct: bool = False¶ Whether to return the tool’s output directly. Setting this to True means that after the tool is called, the AgentExecutor will stop looping. param verbose: bool = False¶ Whether to log the tool’s progress. __call__(tool_input: str, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None) → str¶ Make tool callable. async arun(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool asynchronously. validator raise_deprecation  »  all fields¶ Raise deprecation warning if callback_manager is used. run(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool. property args: dict¶ property is_single_input: bool¶ Whether the tool only accepts a single input. model Config¶ Bases: object Configuration for this pydantic object.
[ 23580, 311, 3371, 279, 1646, 1268, 14, 9493, 14, 35734, 311, 1005, 279, 5507, 627, 2675, 649, 3493, 2478, 64630, 10507, 439, 264, 961, 315, 279, 4096, 627, 913, 3790, 23627, 4188, 25, 12536, 58, 33758, 58, 2707, 11, 610, 11, 54223, 15873, 7896, 1378, 1145, 610, 5163, 60, 284, 3641, 55609, 198, 7144, 279, 2262, 315, 279, 13782, 1378, 15338, 627, 913, 836, 25, 610, 284, 364, 35, 1983, 35, 1983, 11087, 18591, 4823, 6, 55609, 198, 791, 5016, 836, 315, 279, 5507, 430, 9539, 92606, 1202, 7580, 627, 913, 1661, 13888, 25, 528, 284, 220, 19, 55609, 198, 913, 471, 33971, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 471, 279, 5507, 753, 2612, 6089, 13, 20638, 420, 311, 3082, 3445, 198, 9210, 1306, 279, 5507, 374, 2663, 11, 279, 21372, 26321, 690, 3009, 63687, 627, 913, 14008, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 1515, 279, 5507, 753, 5208, 627, 565, 6797, 3889, 14506, 6022, 25, 610, 11, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 8, 11651, 610, 55609, 198, 8238, 5507, 42022, 627, 7847, 802, 359, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 68881, 627, 16503, 4933, 2310, 70693, 4194, 8345, 4194, 682, 5151, 55609, 198, 94201, 409, 70693, 10163, 422, 4927, 12418, 374, 1511, 627, 6236, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 627, 3784, 2897, 25, 6587, 55609, 198, 3784, 374, 20052, 6022, 25, 1845, 55609, 198, 25729, 279, 5507, 1193, 27441, 264, 3254, 1988, 627, 2590, 5649, 55609, 198, 33, 2315, 25, 1665, 198, 7843, 369, 420, 4611, 67, 8322, 1665, 13 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.ddg_search.tool.DuckDuckGoSearchResults.html
e521300bbde9-2
model Config¶ Bases: object Configuration for this pydantic object. arbitrary_types_allowed = True¶ extra = 'forbid'¶
[ 2590, 5649, 55609, 198, 33, 2315, 25, 1665, 198, 7843, 369, 420, 4611, 67, 8322, 1665, 627, 277, 88951, 9962, 43255, 284, 3082, 55609, 198, 15824, 284, 364, 2000, 21301, 6, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.ddg_search.tool.DuckDuckGoSearchResults.html
cd3bf7082976-0
langchain.tools.gmail.get_thread.GmailGetThread¶ class langchain.tools.gmail.get_thread.GmailGetThread(*, name: str = 'get_gmail_thread', description: str = 'Use this tool to search for email messages. The input must be a valid Gmail query. The output is a JSON list of messages.', args_schema: ~typing.Type[~langchain.tools.gmail.get_thread.GetThreadSchema] = <class 'langchain.tools.gmail.get_thread.GetThreadSchema'>, return_direct: bool = False, verbose: bool = False, callbacks: ~typing.Optional[~typing.Union[~typing.List[~langchain.callbacks.base.BaseCallbackHandler], ~langchain.callbacks.base.BaseCallbackManager]] = None, callback_manager: ~typing.Optional[~langchain.callbacks.base.BaseCallbackManager] = None, handle_tool_error: ~typing.Optional[~typing.Union[bool, str, ~typing.Callable[[~langchain.tools.base.ToolException], str]]] = False, api_resource: Resource = None)[source]¶ Bases: GmailBaseTool Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param api_resource: Resource [Optional]¶ param args_schema: Type[langchain.tools.gmail.get_thread.GetThreadSchema] = <class 'langchain.tools.gmail.get_thread.GetThreadSchema'>¶ Pydantic model class to validate and parse the tool’s input arguments. param callback_manager: Optional[BaseCallbackManager] = None¶ Deprecated. Please use callbacks instead. param callbacks: Callbacks = None¶ Callbacks to be called during tool execution. param description: str = 'Use this tool to search for email messages. The input must be a valid Gmail query. The output is a JSON list of messages.'¶
[ 5317, 8995, 24029, 73054, 673, 11048, 1246, 3796, 1991, 6998, 55609, 198, 1058, 8859, 8995, 24029, 73054, 673, 11048, 1246, 3796, 1991, 6998, 4163, 11, 836, 25, 610, 284, 364, 456, 1928, 3796, 11048, 518, 4096, 25, 610, 284, 364, 10464, 420, 5507, 311, 2778, 369, 2613, 6743, 13, 578, 1988, 2011, 387, 264, 2764, 62046, 3319, 13, 578, 2612, 374, 264, 4823, 1160, 315, 6743, 16045, 2897, 26443, 25, 4056, 90902, 10394, 58, 93, 5317, 8995, 24029, 73054, 673, 11048, 2283, 6998, 8802, 60, 284, 366, 1058, 364, 5317, 8995, 24029, 73054, 673, 11048, 2283, 6998, 8802, 6404, 11, 471, 33971, 25, 1845, 284, 3641, 11, 14008, 25, 1845, 284, 3641, 11, 27777, 25, 4056, 90902, 37464, 58, 93, 90902, 10840, 290, 58, 93, 90902, 5937, 58, 93, 5317, 8995, 72134, 9105, 13316, 7646, 3126, 1145, 4056, 5317, 8995, 72134, 9105, 13316, 7646, 2087, 5163, 284, 2290, 11, 4927, 12418, 25, 4056, 90902, 37464, 58, 93, 5317, 8995, 72134, 9105, 13316, 7646, 2087, 60, 284, 2290, 11, 3790, 23627, 4188, 25, 4056, 90902, 37464, 58, 93, 90902, 10840, 290, 58, 2707, 11, 610, 11, 4056, 90902, 28115, 481, 15873, 93, 5317, 8995, 24029, 9105, 25443, 1378, 1145, 610, 5163, 60, 284, 3641, 11, 6464, 18446, 25, 12027, 284, 2290, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 62046, 4066, 7896, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 6464, 18446, 25, 12027, 510, 15669, 60, 55609, 198, 913, 2897, 26443, 25, 4078, 58, 5317, 8995, 24029, 73054, 673, 11048, 2283, 6998, 8802, 60, 284, 366, 1058, 364, 5317, 8995, 24029, 73054, 673, 11048, 2283, 6998, 8802, 6404, 55609, 198, 14149, 67, 8322, 1646, 538, 311, 9788, 323, 4820, 279, 5507, 753, 1988, 6105, 627, 913, 4927, 12418, 25, 12536, 58, 4066, 7646, 2087, 60, 284, 2290, 55609, 198, 52444, 13, 5321, 1005, 27777, 4619, 627, 913, 27777, 25, 23499, 82, 284, 2290, 55609, 198, 45561, 311, 387, 2663, 2391, 5507, 11572, 627, 913, 4096, 25, 610, 284, 364, 10464, 420, 5507, 311, 2778, 369, 2613, 6743, 13, 578, 1988, 2011, 387, 264, 2764, 62046, 3319, 13, 578, 2612, 374, 264, 4823, 1160, 315, 6743, 3238, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.gmail.get_thread.GmailGetThread.html
cd3bf7082976-1
Used to tell the model how/when/why to use the tool. You can provide few-shot examples as a part of the description. param handle_tool_error: Optional[Union[bool, str, Callable[[ToolException], str]]] = False¶ Handle the content of the ToolException thrown. param name: str = 'get_gmail_thread'¶ The unique name of the tool that clearly communicates its purpose. param return_direct: bool = False¶ Whether to return the tool’s output directly. Setting this to True means that after the tool is called, the AgentExecutor will stop looping. param verbose: bool = False¶ Whether to log the tool’s progress. __call__(tool_input: str, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None) → str¶ Make tool callable. async arun(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool asynchronously. classmethod from_api_resource(api_resource: Resource) → GmailBaseTool¶ validator raise_deprecation  »  all fields¶ Raise deprecation warning if callback_manager is used. run(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool. property args: dict¶ property is_single_input: bool¶ Whether the tool only accepts a single input. model Config¶ Bases: object
[ 23580, 311, 3371, 279, 1646, 1268, 14, 9493, 14, 35734, 311, 1005, 279, 5507, 627, 2675, 649, 3493, 2478, 64630, 10507, 439, 264, 961, 315, 279, 4096, 627, 913, 3790, 23627, 4188, 25, 12536, 58, 33758, 58, 2707, 11, 610, 11, 54223, 15873, 7896, 1378, 1145, 610, 5163, 60, 284, 3641, 55609, 198, 7144, 279, 2262, 315, 279, 13782, 1378, 15338, 627, 913, 836, 25, 610, 284, 364, 456, 1928, 3796, 11048, 6, 55609, 198, 791, 5016, 836, 315, 279, 5507, 430, 9539, 92606, 1202, 7580, 627, 913, 471, 33971, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 471, 279, 5507, 753, 2612, 6089, 13, 20638, 420, 311, 3082, 3445, 198, 9210, 1306, 279, 5507, 374, 2663, 11, 279, 21372, 26321, 690, 3009, 63687, 627, 913, 14008, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 1515, 279, 5507, 753, 5208, 627, 565, 6797, 3889, 14506, 6022, 25, 610, 11, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 8, 11651, 610, 55609, 198, 8238, 5507, 42022, 627, 7847, 802, 359, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 68881, 627, 27853, 505, 11959, 18446, 25865, 18446, 25, 12027, 8, 11651, 62046, 4066, 7896, 55609, 198, 16503, 4933, 2310, 70693, 4194, 8345, 4194, 682, 5151, 55609, 198, 94201, 409, 70693, 10163, 422, 4927, 12418, 374, 1511, 627, 6236, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 627, 3784, 2897, 25, 6587, 55609, 198, 3784, 374, 20052, 6022, 25, 1845, 55609, 198, 25729, 279, 5507, 1193, 27441, 264, 3254, 1988, 627, 2590, 5649, 55609, 198, 33, 2315, 25, 1665 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.gmail.get_thread.GmailGetThread.html
cd3bf7082976-2
Whether the tool only accepts a single input. model Config¶ Bases: object Configuration for this pydantic object. arbitrary_types_allowed = True¶ extra = 'forbid'¶
[ 25729, 279, 5507, 1193, 27441, 264, 3254, 1988, 627, 2590, 5649, 55609, 198, 33, 2315, 25, 1665, 198, 7843, 369, 420, 4611, 67, 8322, 1665, 627, 277, 88951, 9962, 43255, 284, 3082, 55609, 198, 15824, 284, 364, 2000, 21301, 6, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.gmail.get_thread.GmailGetThread.html
8d5c11b075ef-0
langchain.tools.searx_search.tool.SearxSearchRun¶ class langchain.tools.searx_search.tool.SearxSearchRun(*, name: str = 'searx_search', description: str = 'A meta search engine.Useful for when you need to answer questions about current events.Input should be a search query.', args_schema: Optional[Type[BaseModel]] = None, return_direct: bool = False, verbose: bool = False, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, callback_manager: Optional[BaseCallbackManager] = None, handle_tool_error: Optional[Union[bool, str, Callable[[ToolException], str]]] = False, wrapper: SearxSearchWrapper, kwargs: dict = None)[source]¶ Bases: BaseTool Tool that adds the capability to query a Searx instance. Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param args_schema: Optional[Type[BaseModel]] = None¶ Pydantic model class to validate and parse the tool’s input arguments. param callback_manager: Optional[BaseCallbackManager] = None¶ Deprecated. Please use callbacks instead. param callbacks: Callbacks = None¶ Callbacks to be called during tool execution. param description: str = 'A meta search engine.Useful for when you need to answer questions about current events.Input should be a search query.'¶ Used to tell the model how/when/why to use the tool. You can provide few-shot examples as a part of the description. param handle_tool_error: Optional[Union[bool, str, Callable[[ToolException], str]]] = False¶ Handle the content of the ToolException thrown. param kwargs: dict [Optional]¶
[ 5317, 8995, 24029, 4624, 277, 87, 10947, 21966, 815, 686, 87, 6014, 6869, 55609, 198, 1058, 8859, 8995, 24029, 4624, 277, 87, 10947, 21966, 815, 686, 87, 6014, 6869, 4163, 11, 836, 25, 610, 284, 364, 325, 277, 87, 10947, 518, 4096, 25, 610, 284, 364, 32, 8999, 2778, 4817, 9223, 1285, 369, 994, 499, 1205, 311, 4320, 4860, 922, 1510, 4455, 16521, 1288, 387, 264, 2778, 3319, 16045, 2897, 26443, 25, 12536, 58, 941, 58, 4066, 1747, 5163, 284, 2290, 11, 471, 33971, 25, 1845, 284, 3641, 11, 14008, 25, 1845, 284, 3641, 11, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 4927, 12418, 25, 12536, 58, 4066, 7646, 2087, 60, 284, 2290, 11, 3790, 23627, 4188, 25, 12536, 58, 33758, 58, 2707, 11, 610, 11, 54223, 15873, 7896, 1378, 1145, 610, 5163, 60, 284, 3641, 11, 13564, 25, 328, 686, 87, 6014, 11803, 11, 16901, 25, 6587, 284, 2290, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 7896, 198, 7896, 430, 11621, 279, 23099, 311, 3319, 264, 328, 686, 87, 2937, 627, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 2897, 26443, 25, 12536, 58, 941, 58, 4066, 1747, 5163, 284, 2290, 55609, 198, 14149, 67, 8322, 1646, 538, 311, 9788, 323, 4820, 279, 5507, 753, 1988, 6105, 627, 913, 4927, 12418, 25, 12536, 58, 4066, 7646, 2087, 60, 284, 2290, 55609, 198, 52444, 13, 5321, 1005, 27777, 4619, 627, 913, 27777, 25, 23499, 82, 284, 2290, 55609, 198, 45561, 311, 387, 2663, 2391, 5507, 11572, 627, 913, 4096, 25, 610, 284, 364, 32, 8999, 2778, 4817, 9223, 1285, 369, 994, 499, 1205, 311, 4320, 4860, 922, 1510, 4455, 16521, 1288, 387, 264, 2778, 3319, 3238, 55609, 198, 23580, 311, 3371, 279, 1646, 1268, 14, 9493, 14, 35734, 311, 1005, 279, 5507, 627, 2675, 649, 3493, 2478, 64630, 10507, 439, 264, 961, 315, 279, 4096, 627, 913, 3790, 23627, 4188, 25, 12536, 58, 33758, 58, 2707, 11, 610, 11, 54223, 15873, 7896, 1378, 1145, 610, 5163, 60, 284, 3641, 55609, 198, 7144, 279, 2262, 315, 279, 13782, 1378, 15338, 627, 913, 16901, 25, 6587, 510, 15669, 60, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.searx_search.tool.SearxSearchRun.html
8d5c11b075ef-1
Handle the content of the ToolException thrown. param kwargs: dict [Optional]¶ param name: str = 'searx_search'¶ The unique name of the tool that clearly communicates its purpose. param return_direct: bool = False¶ Whether to return the tool’s output directly. Setting this to True means that after the tool is called, the AgentExecutor will stop looping. param verbose: bool = False¶ Whether to log the tool’s progress. param wrapper: langchain.utilities.searx_search.SearxSearchWrapper [Required]¶ __call__(tool_input: str, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None) → str¶ Make tool callable. async arun(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool asynchronously. validator raise_deprecation  »  all fields¶ Raise deprecation warning if callback_manager is used. run(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool. property args: dict¶ property is_single_input: bool¶ Whether the tool only accepts a single input. model Config¶ Bases: object Configuration for this pydantic object. arbitrary_types_allowed = True¶ extra = 'forbid'¶
[ 7144, 279, 2262, 315, 279, 13782, 1378, 15338, 627, 913, 16901, 25, 6587, 510, 15669, 60, 55609, 198, 913, 836, 25, 610, 284, 364, 325, 277, 87, 10947, 6, 55609, 198, 791, 5016, 836, 315, 279, 5507, 430, 9539, 92606, 1202, 7580, 627, 913, 471, 33971, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 471, 279, 5507, 753, 2612, 6089, 13, 20638, 420, 311, 3082, 3445, 198, 9210, 1306, 279, 5507, 374, 2663, 11, 279, 21372, 26321, 690, 3009, 63687, 627, 913, 14008, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 1515, 279, 5507, 753, 5208, 627, 913, 13564, 25, 8859, 8995, 63795, 4624, 277, 87, 10947, 815, 686, 87, 6014, 11803, 510, 8327, 60, 55609, 198, 565, 6797, 3889, 14506, 6022, 25, 610, 11, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 8, 11651, 610, 55609, 198, 8238, 5507, 42022, 627, 7847, 802, 359, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 68881, 627, 16503, 4933, 2310, 70693, 4194, 8345, 4194, 682, 5151, 55609, 198, 94201, 409, 70693, 10163, 422, 4927, 12418, 374, 1511, 627, 6236, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 627, 3784, 2897, 25, 6587, 55609, 198, 3784, 374, 20052, 6022, 25, 1845, 55609, 198, 25729, 279, 5507, 1193, 27441, 264, 3254, 1988, 627, 2590, 5649, 55609, 198, 33, 2315, 25, 1665, 198, 7843, 369, 420, 4611, 67, 8322, 1665, 627, 277, 88951, 9962, 43255, 284, 3082, 55609, 198, 15824, 284, 364, 2000, 21301, 6, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.searx_search.tool.SearxSearchRun.html
45b626041273-0
langchain.tools.base.ToolMetaclass¶ class langchain.tools.base.ToolMetaclass(name: str, bases: Tuple[Type, ...], dct: dict)[source]¶ Bases: ModelMetaclass Metaclass for BaseTool to ensure the provided args_schema doesn’t silently ignored. Create the definition of the new tool class. Methods __init__(*args, **kwargs) mro() Return a type's method resolution order. register(subclass) Register a virtual subclass of an ABC. __call__(*args, **kwargs)¶ Call self as a function. mro()¶ Return a type’s method resolution order. register(subclass)¶ Register a virtual subclass of an ABC. Returns the subclass, to allow usage as a class decorator.
[ 5317, 8995, 24029, 9105, 25443, 35773, 68628, 55609, 198, 1058, 8859, 8995, 24029, 9105, 25443, 35773, 68628, 3232, 25, 610, 11, 23963, 25, 25645, 58, 941, 11, 2564, 1145, 91264, 25, 6587, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5008, 35773, 68628, 198, 35773, 68628, 369, 5464, 7896, 311, 6106, 279, 3984, 2897, 26443, 198, 73014, 1431, 50494, 12305, 627, 4110, 279, 7419, 315, 279, 502, 5507, 538, 627, 18337, 198, 565, 2381, 69106, 2164, 11, 4194, 334, 9872, 340, 76, 299, 746, 5715, 264, 955, 596, 1749, 11175, 2015, 627, 6477, 10849, 1058, 340, 8861, 264, 4200, 38290, 315, 459, 19921, 627, 565, 6797, 69106, 2164, 11, 3146, 9872, 8, 55609, 198, 7368, 659, 439, 264, 734, 627, 76, 299, 368, 55609, 198, 5715, 264, 955, 753, 1749, 11175, 2015, 627, 6477, 10849, 1058, 8, 55609, 198, 8861, 264, 4200, 38290, 315, 459, 19921, 627, 16851, 279, 38290, 11, 311, 2187, 10648, 439, 264, 538, 51778, 13 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.base.ToolMetaclass.html
e5d33e26bb7e-0
langchain.tools.sql_database.tool.BaseSQLDatabaseTool¶ class langchain.tools.sql_database.tool.BaseSQLDatabaseTool(*, db: SQLDatabase)[source]¶ Bases: BaseModel Base tool for interacting with a SQL database. Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param db: langchain.sql_database.SQLDatabase [Required]¶ model Config[source]¶ Bases: Config Configuration for this pydantic object. arbitrary_types_allowed = True¶ extra = 'forbid'¶
[ 5317, 8995, 24029, 10251, 28441, 21966, 13316, 6827, 6116, 7896, 55609, 198, 1058, 8859, 8995, 24029, 10251, 28441, 21966, 13316, 6827, 6116, 7896, 4163, 11, 3000, 25, 8029, 6116, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 65705, 198, 4066, 5507, 369, 45830, 449, 264, 8029, 4729, 627, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 3000, 25, 8859, 8995, 10251, 28441, 26151, 6116, 510, 8327, 60, 55609, 198, 2590, 5649, 76747, 60, 55609, 198, 33, 2315, 25, 5649, 198, 7843, 369, 420, 4611, 67, 8322, 1665, 627, 277, 88951, 9962, 43255, 284, 3082, 55609, 198, 15824, 284, 364, 2000, 21301, 6, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.sql_database.tool.BaseSQLDatabaseTool.html
590624ea0fbb-0
langchain.tools.playwright.extract_text.ExtractTextTool¶ class langchain.tools.playwright.extract_text.ExtractTextTool(*, name: str = 'extract_text', description: str = 'Extract all the text on the current webpage', args_schema: ~typing.Type[~pydantic.main.BaseModel] = <class 'pydantic.main.BaseModel'>, return_direct: bool = False, verbose: bool = False, callbacks: ~typing.Optional[~typing.Union[~typing.List[~langchain.callbacks.base.BaseCallbackHandler], ~langchain.callbacks.base.BaseCallbackManager]] = None, callback_manager: ~typing.Optional[~langchain.callbacks.base.BaseCallbackManager] = None, handle_tool_error: ~typing.Optional[~typing.Union[bool, str, ~typing.Callable[[~langchain.tools.base.ToolException], str]]] = False, sync_browser: Optional['SyncBrowser'] = None, async_browser: Optional['AsyncBrowser'] = None)[source]¶ Bases: BaseBrowserTool Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param args_schema: Type[BaseModel] = <class 'pydantic.main.BaseModel'>¶ Pydantic model class to validate and parse the tool’s input arguments. param async_browser: Optional['AsyncBrowser'] = None¶ param callback_manager: Optional[BaseCallbackManager] = None¶ Deprecated. Please use callbacks instead. param callbacks: Callbacks = None¶ Callbacks to be called during tool execution. param description: str = 'Extract all the text on the current webpage'¶ Used to tell the model how/when/why to use the tool. You can provide few-shot examples as a part of the description.
[ 5317, 8995, 24029, 13269, 53852, 38458, 4424, 5231, 2193, 1199, 7896, 55609, 198, 1058, 8859, 8995, 24029, 13269, 53852, 38458, 4424, 5231, 2193, 1199, 7896, 4163, 11, 836, 25, 610, 284, 364, 24396, 4424, 518, 4096, 25, 610, 284, 364, 30059, 682, 279, 1495, 389, 279, 1510, 45710, 518, 2897, 26443, 25, 4056, 90902, 10394, 58, 93, 3368, 67, 8322, 9056, 13316, 1747, 60, 284, 366, 1058, 364, 3368, 67, 8322, 9056, 13316, 1747, 6404, 11, 471, 33971, 25, 1845, 284, 3641, 11, 14008, 25, 1845, 284, 3641, 11, 27777, 25, 4056, 90902, 37464, 58, 93, 90902, 10840, 290, 58, 93, 90902, 5937, 58, 93, 5317, 8995, 72134, 9105, 13316, 7646, 3126, 1145, 4056, 5317, 8995, 72134, 9105, 13316, 7646, 2087, 5163, 284, 2290, 11, 4927, 12418, 25, 4056, 90902, 37464, 58, 93, 5317, 8995, 72134, 9105, 13316, 7646, 2087, 60, 284, 2290, 11, 3790, 23627, 4188, 25, 4056, 90902, 37464, 58, 93, 90902, 10840, 290, 58, 2707, 11, 610, 11, 4056, 90902, 28115, 481, 15873, 93, 5317, 8995, 24029, 9105, 25443, 1378, 1145, 610, 5163, 60, 284, 3641, 11, 13105, 54514, 25, 12536, 681, 12430, 18360, 663, 284, 2290, 11, 3393, 54514, 25, 12536, 681, 6662, 18360, 663, 284, 2290, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 18360, 7896, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 2897, 26443, 25, 4078, 58, 4066, 1747, 60, 284, 366, 1058, 364, 3368, 67, 8322, 9056, 13316, 1747, 6404, 55609, 198, 14149, 67, 8322, 1646, 538, 311, 9788, 323, 4820, 279, 5507, 753, 1988, 6105, 627, 913, 3393, 54514, 25, 12536, 681, 6662, 18360, 663, 284, 2290, 55609, 198, 913, 4927, 12418, 25, 12536, 58, 4066, 7646, 2087, 60, 284, 2290, 55609, 198, 52444, 13, 5321, 1005, 27777, 4619, 627, 913, 27777, 25, 23499, 82, 284, 2290, 55609, 198, 45561, 311, 387, 2663, 2391, 5507, 11572, 627, 913, 4096, 25, 610, 284, 364, 30059, 682, 279, 1495, 389, 279, 1510, 45710, 6, 55609, 198, 23580, 311, 3371, 279, 1646, 1268, 14, 9493, 14, 35734, 311, 1005, 279, 5507, 627, 2675, 649, 3493, 2478, 64630, 10507, 439, 264, 961, 315, 279, 4096, 13 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.playwright.extract_text.ExtractTextTool.html
590624ea0fbb-1
You can provide few-shot examples as a part of the description. param handle_tool_error: Optional[Union[bool, str, Callable[[ToolException], str]]] = False¶ Handle the content of the ToolException thrown. param name: str = 'extract_text'¶ The unique name of the tool that clearly communicates its purpose. param return_direct: bool = False¶ Whether to return the tool’s output directly. Setting this to True means that after the tool is called, the AgentExecutor will stop looping. param sync_browser: Optional['SyncBrowser'] = None¶ param verbose: bool = False¶ Whether to log the tool’s progress. __call__(tool_input: str, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None) → str¶ Make tool callable. async arun(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool asynchronously. validator check_acheck_bs_importrgs  »  all fields[source]¶ Check that the arguments are valid. classmethod from_browser(sync_browser: Optional[SyncBrowser] = None, async_browser: Optional[AsyncBrowser] = None) → BaseBrowserTool¶ Instantiate the tool. validator raise_deprecation  »  all fields¶ Raise deprecation warning if callback_manager is used. run(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶
[ 2675, 649, 3493, 2478, 64630, 10507, 439, 264, 961, 315, 279, 4096, 627, 913, 3790, 23627, 4188, 25, 12536, 58, 33758, 58, 2707, 11, 610, 11, 54223, 15873, 7896, 1378, 1145, 610, 5163, 60, 284, 3641, 55609, 198, 7144, 279, 2262, 315, 279, 13782, 1378, 15338, 627, 913, 836, 25, 610, 284, 364, 24396, 4424, 6, 55609, 198, 791, 5016, 836, 315, 279, 5507, 430, 9539, 92606, 1202, 7580, 627, 913, 471, 33971, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 471, 279, 5507, 753, 2612, 6089, 13, 20638, 420, 311, 3082, 3445, 198, 9210, 1306, 279, 5507, 374, 2663, 11, 279, 21372, 26321, 690, 3009, 63687, 627, 913, 13105, 54514, 25, 12536, 681, 12430, 18360, 663, 284, 2290, 55609, 198, 913, 14008, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 1515, 279, 5507, 753, 5208, 627, 565, 6797, 3889, 14506, 6022, 25, 610, 11, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 8, 11651, 610, 55609, 198, 8238, 5507, 42022, 627, 7847, 802, 359, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 68881, 627, 16503, 1817, 62, 1815, 377, 69650, 18941, 2026, 82, 4194, 8345, 4194, 682, 5151, 76747, 60, 55609, 198, 4061, 430, 279, 6105, 527, 2764, 627, 27853, 505, 54514, 98333, 54514, 25, 12536, 58, 12430, 18360, 60, 284, 2290, 11, 3393, 54514, 25, 12536, 58, 6662, 18360, 60, 284, 2290, 8, 11651, 5464, 18360, 7896, 55609, 198, 81651, 279, 5507, 627, 16503, 4933, 2310, 70693, 4194, 8345, 4194, 682, 5151, 55609, 198, 94201, 409, 70693, 10163, 422, 4927, 12418, 374, 1511, 627, 6236, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.playwright.extract_text.ExtractTextTool.html
590624ea0fbb-2
Run the tool. validator validate_browser_provided  »  all fields¶ Check that the arguments are valid. property args: dict¶ property is_single_input: bool¶ Whether the tool only accepts a single input. model Config¶ Bases: object Configuration for this pydantic object. arbitrary_types_allowed = True¶ extra = 'forbid'¶
[ 6869, 279, 5507, 627, 16503, 9788, 54514, 2602, 44057, 4194, 8345, 4194, 682, 5151, 55609, 198, 4061, 430, 279, 6105, 527, 2764, 627, 3784, 2897, 25, 6587, 55609, 198, 3784, 374, 20052, 6022, 25, 1845, 55609, 198, 25729, 279, 5507, 1193, 27441, 264, 3254, 1988, 627, 2590, 5649, 55609, 198, 33, 2315, 25, 1665, 198, 7843, 369, 420, 4611, 67, 8322, 1665, 627, 277, 88951, 9962, 43255, 284, 3082, 55609, 198, 15824, 284, 364, 2000, 21301, 6, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.playwright.extract_text.ExtractTextTool.html
d762927c21fb-0
langchain.tools.sql_database.tool.ListSQLDatabaseTool¶ class langchain.tools.sql_database.tool.ListSQLDatabaseTool(*, name: str = 'sql_db_list_tables', description: str = 'Input is an empty string, output is a comma separated list of tables in the database.', args_schema: Optional[Type[BaseModel]] = None, return_direct: bool = False, verbose: bool = False, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, callback_manager: Optional[BaseCallbackManager] = None, handle_tool_error: Optional[Union[bool, str, Callable[[ToolException], str]]] = False, db: SQLDatabase)[source]¶ Bases: BaseSQLDatabaseTool, BaseTool Tool for getting tables names. Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param args_schema: Optional[Type[BaseModel]] = None¶ Pydantic model class to validate and parse the tool’s input arguments. param callback_manager: Optional[BaseCallbackManager] = None¶ Deprecated. Please use callbacks instead. param callbacks: Callbacks = None¶ Callbacks to be called during tool execution. param db: langchain.sql_database.SQLDatabase [Required]¶ param description: str = 'Input is an empty string, output is a comma separated list of tables in the database.'¶ Used to tell the model how/when/why to use the tool. You can provide few-shot examples as a part of the description. param handle_tool_error: Optional[Union[bool, str, Callable[[ToolException], str]]] = False¶ Handle the content of the ToolException thrown. param name: str = 'sql_db_list_tables'¶ The unique name of the tool that clearly communicates its purpose.
[ 5317, 8995, 24029, 10251, 28441, 21966, 5937, 6827, 6116, 7896, 55609, 198, 1058, 8859, 8995, 24029, 10251, 28441, 21966, 5937, 6827, 6116, 7896, 4163, 11, 836, 25, 610, 284, 364, 3628, 8856, 2062, 36732, 518, 4096, 25, 610, 284, 364, 2566, 374, 459, 4384, 925, 11, 2612, 374, 264, 32783, 19180, 1160, 315, 12920, 304, 279, 4729, 16045, 2897, 26443, 25, 12536, 58, 941, 58, 4066, 1747, 5163, 284, 2290, 11, 471, 33971, 25, 1845, 284, 3641, 11, 14008, 25, 1845, 284, 3641, 11, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 4927, 12418, 25, 12536, 58, 4066, 7646, 2087, 60, 284, 2290, 11, 3790, 23627, 4188, 25, 12536, 58, 33758, 58, 2707, 11, 610, 11, 54223, 15873, 7896, 1378, 1145, 610, 5163, 60, 284, 3641, 11, 3000, 25, 8029, 6116, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 6827, 6116, 7896, 11, 5464, 7896, 198, 7896, 369, 3794, 12920, 5144, 627, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 2897, 26443, 25, 12536, 58, 941, 58, 4066, 1747, 5163, 284, 2290, 55609, 198, 14149, 67, 8322, 1646, 538, 311, 9788, 323, 4820, 279, 5507, 753, 1988, 6105, 627, 913, 4927, 12418, 25, 12536, 58, 4066, 7646, 2087, 60, 284, 2290, 55609, 198, 52444, 13, 5321, 1005, 27777, 4619, 627, 913, 27777, 25, 23499, 82, 284, 2290, 55609, 198, 45561, 311, 387, 2663, 2391, 5507, 11572, 627, 913, 3000, 25, 8859, 8995, 10251, 28441, 26151, 6116, 510, 8327, 60, 55609, 198, 913, 4096, 25, 610, 284, 364, 2566, 374, 459, 4384, 925, 11, 2612, 374, 264, 32783, 19180, 1160, 315, 12920, 304, 279, 4729, 3238, 55609, 198, 23580, 311, 3371, 279, 1646, 1268, 14, 9493, 14, 35734, 311, 1005, 279, 5507, 627, 2675, 649, 3493, 2478, 64630, 10507, 439, 264, 961, 315, 279, 4096, 627, 913, 3790, 23627, 4188, 25, 12536, 58, 33758, 58, 2707, 11, 610, 11, 54223, 15873, 7896, 1378, 1145, 610, 5163, 60, 284, 3641, 55609, 198, 7144, 279, 2262, 315, 279, 13782, 1378, 15338, 627, 913, 836, 25, 610, 284, 364, 3628, 8856, 2062, 36732, 6, 55609, 198, 791, 5016, 836, 315, 279, 5507, 430, 9539, 92606, 1202, 7580, 13 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.sql_database.tool.ListSQLDatabaseTool.html
d762927c21fb-1
The unique name of the tool that clearly communicates its purpose. param return_direct: bool = False¶ Whether to return the tool’s output directly. Setting this to True means that after the tool is called, the AgentExecutor will stop looping. param verbose: bool = False¶ Whether to log the tool’s progress. __call__(tool_input: str, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None) → str¶ Make tool callable. async arun(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool asynchronously. validator raise_deprecation  »  all fields¶ Raise deprecation warning if callback_manager is used. run(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool. property args: dict¶ property is_single_input: bool¶ Whether the tool only accepts a single input. model Config¶ Bases: Config Configuration for this pydantic object. arbitrary_types_allowed = True¶ extra = 'forbid'¶
[ 791, 5016, 836, 315, 279, 5507, 430, 9539, 92606, 1202, 7580, 627, 913, 471, 33971, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 471, 279, 5507, 753, 2612, 6089, 13, 20638, 420, 311, 3082, 3445, 198, 9210, 1306, 279, 5507, 374, 2663, 11, 279, 21372, 26321, 690, 3009, 63687, 627, 913, 14008, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 1515, 279, 5507, 753, 5208, 627, 565, 6797, 3889, 14506, 6022, 25, 610, 11, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 8, 11651, 610, 55609, 198, 8238, 5507, 42022, 627, 7847, 802, 359, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 68881, 627, 16503, 4933, 2310, 70693, 4194, 8345, 4194, 682, 5151, 55609, 198, 94201, 409, 70693, 10163, 422, 4927, 12418, 374, 1511, 627, 6236, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 627, 3784, 2897, 25, 6587, 55609, 198, 3784, 374, 20052, 6022, 25, 1845, 55609, 198, 25729, 279, 5507, 1193, 27441, 264, 3254, 1988, 627, 2590, 5649, 55609, 198, 33, 2315, 25, 5649, 198, 7843, 369, 420, 4611, 67, 8322, 1665, 627, 277, 88951, 9962, 43255, 284, 3082, 55609, 198, 15824, 284, 364, 2000, 21301, 6, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.sql_database.tool.ListSQLDatabaseTool.html
5328bdb8bca8-0
langchain.tools.playwright.current_page.CurrentWebPageTool¶ class langchain.tools.playwright.current_page.CurrentWebPageTool(*, name: str = 'current_webpage', description: str = 'Returns the URL of the current page', args_schema: ~typing.Type[~pydantic.main.BaseModel] = <class 'pydantic.main.BaseModel'>, return_direct: bool = False, verbose: bool = False, callbacks: ~typing.Optional[~typing.Union[~typing.List[~langchain.callbacks.base.BaseCallbackHandler], ~langchain.callbacks.base.BaseCallbackManager]] = None, callback_manager: ~typing.Optional[~langchain.callbacks.base.BaseCallbackManager] = None, handle_tool_error: ~typing.Optional[~typing.Union[bool, str, ~typing.Callable[[~langchain.tools.base.ToolException], str]]] = False, sync_browser: Optional['SyncBrowser'] = None, async_browser: Optional['AsyncBrowser'] = None)[source]¶ Bases: BaseBrowserTool Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param args_schema: Type[BaseModel] = <class 'pydantic.main.BaseModel'>¶ Pydantic model class to validate and parse the tool’s input arguments. param async_browser: Optional['AsyncBrowser'] = None¶ param callback_manager: Optional[BaseCallbackManager] = None¶ Deprecated. Please use callbacks instead. param callbacks: Callbacks = None¶ Callbacks to be called during tool execution. param description: str = 'Returns the URL of the current page'¶ Used to tell the model how/when/why to use the tool. You can provide few-shot examples as a part of the description.
[ 5317, 8995, 24029, 13269, 53852, 5058, 6257, 11778, 6109, 2732, 7896, 55609, 198, 1058, 8859, 8995, 24029, 13269, 53852, 5058, 6257, 11778, 6109, 2732, 7896, 4163, 11, 836, 25, 610, 284, 364, 3311, 27050, 2964, 518, 4096, 25, 610, 284, 364, 16851, 279, 5665, 315, 279, 1510, 2199, 518, 2897, 26443, 25, 4056, 90902, 10394, 58, 93, 3368, 67, 8322, 9056, 13316, 1747, 60, 284, 366, 1058, 364, 3368, 67, 8322, 9056, 13316, 1747, 6404, 11, 471, 33971, 25, 1845, 284, 3641, 11, 14008, 25, 1845, 284, 3641, 11, 27777, 25, 4056, 90902, 37464, 58, 93, 90902, 10840, 290, 58, 93, 90902, 5937, 58, 93, 5317, 8995, 72134, 9105, 13316, 7646, 3126, 1145, 4056, 5317, 8995, 72134, 9105, 13316, 7646, 2087, 5163, 284, 2290, 11, 4927, 12418, 25, 4056, 90902, 37464, 58, 93, 5317, 8995, 72134, 9105, 13316, 7646, 2087, 60, 284, 2290, 11, 3790, 23627, 4188, 25, 4056, 90902, 37464, 58, 93, 90902, 10840, 290, 58, 2707, 11, 610, 11, 4056, 90902, 28115, 481, 15873, 93, 5317, 8995, 24029, 9105, 25443, 1378, 1145, 610, 5163, 60, 284, 3641, 11, 13105, 54514, 25, 12536, 681, 12430, 18360, 663, 284, 2290, 11, 3393, 54514, 25, 12536, 681, 6662, 18360, 663, 284, 2290, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 18360, 7896, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 2897, 26443, 25, 4078, 58, 4066, 1747, 60, 284, 366, 1058, 364, 3368, 67, 8322, 9056, 13316, 1747, 6404, 55609, 198, 14149, 67, 8322, 1646, 538, 311, 9788, 323, 4820, 279, 5507, 753, 1988, 6105, 627, 913, 3393, 54514, 25, 12536, 681, 6662, 18360, 663, 284, 2290, 55609, 198, 913, 4927, 12418, 25, 12536, 58, 4066, 7646, 2087, 60, 284, 2290, 55609, 198, 52444, 13, 5321, 1005, 27777, 4619, 627, 913, 27777, 25, 23499, 82, 284, 2290, 55609, 198, 45561, 311, 387, 2663, 2391, 5507, 11572, 627, 913, 4096, 25, 610, 284, 364, 16851, 279, 5665, 315, 279, 1510, 2199, 6, 55609, 198, 23580, 311, 3371, 279, 1646, 1268, 14, 9493, 14, 35734, 311, 1005, 279, 5507, 627, 2675, 649, 3493, 2478, 64630, 10507, 439, 264, 961, 315, 279, 4096, 13 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.playwright.current_page.CurrentWebPageTool.html
5328bdb8bca8-1
You can provide few-shot examples as a part of the description. param handle_tool_error: Optional[Union[bool, str, Callable[[ToolException], str]]] = False¶ Handle the content of the ToolException thrown. param name: str = 'current_webpage'¶ The unique name of the tool that clearly communicates its purpose. param return_direct: bool = False¶ Whether to return the tool’s output directly. Setting this to True means that after the tool is called, the AgentExecutor will stop looping. param sync_browser: Optional['SyncBrowser'] = None¶ param verbose: bool = False¶ Whether to log the tool’s progress. __call__(tool_input: str, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None) → str¶ Make tool callable. async arun(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool asynchronously. classmethod from_browser(sync_browser: Optional[SyncBrowser] = None, async_browser: Optional[AsyncBrowser] = None) → BaseBrowserTool¶ Instantiate the tool. validator raise_deprecation  »  all fields¶ Raise deprecation warning if callback_manager is used. run(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool. validator validate_browser_provided  »  all fields¶ Check that the arguments are valid.
[ 2675, 649, 3493, 2478, 64630, 10507, 439, 264, 961, 315, 279, 4096, 627, 913, 3790, 23627, 4188, 25, 12536, 58, 33758, 58, 2707, 11, 610, 11, 54223, 15873, 7896, 1378, 1145, 610, 5163, 60, 284, 3641, 55609, 198, 7144, 279, 2262, 315, 279, 13782, 1378, 15338, 627, 913, 836, 25, 610, 284, 364, 3311, 27050, 2964, 6, 55609, 198, 791, 5016, 836, 315, 279, 5507, 430, 9539, 92606, 1202, 7580, 627, 913, 471, 33971, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 471, 279, 5507, 753, 2612, 6089, 13, 20638, 420, 311, 3082, 3445, 198, 9210, 1306, 279, 5507, 374, 2663, 11, 279, 21372, 26321, 690, 3009, 63687, 627, 913, 13105, 54514, 25, 12536, 681, 12430, 18360, 663, 284, 2290, 55609, 198, 913, 14008, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 1515, 279, 5507, 753, 5208, 627, 565, 6797, 3889, 14506, 6022, 25, 610, 11, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 8, 11651, 610, 55609, 198, 8238, 5507, 42022, 627, 7847, 802, 359, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 68881, 627, 27853, 505, 54514, 98333, 54514, 25, 12536, 58, 12430, 18360, 60, 284, 2290, 11, 3393, 54514, 25, 12536, 58, 6662, 18360, 60, 284, 2290, 8, 11651, 5464, 18360, 7896, 55609, 198, 81651, 279, 5507, 627, 16503, 4933, 2310, 70693, 4194, 8345, 4194, 682, 5151, 55609, 198, 94201, 409, 70693, 10163, 422, 4927, 12418, 374, 1511, 627, 6236, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 627, 16503, 9788, 54514, 2602, 44057, 4194, 8345, 4194, 682, 5151, 55609, 198, 4061, 430, 279, 6105, 527, 2764, 13 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.playwright.current_page.CurrentWebPageTool.html
5328bdb8bca8-2
validator validate_browser_provided  »  all fields¶ Check that the arguments are valid. property args: dict¶ property is_single_input: bool¶ Whether the tool only accepts a single input. model Config¶ Bases: object Configuration for this pydantic object. arbitrary_types_allowed = True¶ extra = 'forbid'¶
[ 16503, 9788, 54514, 2602, 44057, 4194, 8345, 4194, 682, 5151, 55609, 198, 4061, 430, 279, 6105, 527, 2764, 627, 3784, 2897, 25, 6587, 55609, 198, 3784, 374, 20052, 6022, 25, 1845, 55609, 198, 25729, 279, 5507, 1193, 27441, 264, 3254, 1988, 627, 2590, 5649, 55609, 198, 33, 2315, 25, 1665, 198, 7843, 369, 420, 4611, 67, 8322, 1665, 627, 277, 88951, 9962, 43255, 284, 3082, 55609, 198, 15824, 284, 364, 2000, 21301, 6, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.playwright.current_page.CurrentWebPageTool.html
137bc613bc54-0
langchain.tools.plugin.AIPlugin¶ class langchain.tools.plugin.AIPlugin(*, schema_version: str, name_for_model: str, name_for_human: str, description_for_model: str, description_for_human: str, auth: Optional[dict] = None, api: ApiConfig, logo_url: Optional[str] = None, contact_email: Optional[str] = None, legal_info_url: Optional[str] = None)[source]¶ Bases: BaseModel AI Plugin Definition. Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param api: langchain.tools.plugin.ApiConfig [Required]¶ param auth: Optional[dict] = None¶ param contact_email: Optional[str] = None¶ param description_for_human: str [Required]¶ param description_for_model: str [Required]¶ param legal_info_url: Optional[str] = None¶ param logo_url: Optional[str] = None¶ param name_for_human: str [Required]¶ param name_for_model: str [Required]¶ param schema_version: str [Required]¶ classmethod from_url(url: str) → AIPlugin[source]¶ Instantiate AIPlugin from a URL.
[ 5317, 8995, 24029, 28067, 89878, 11807, 55609, 198, 1058, 8859, 8995, 24029, 28067, 89878, 11807, 4163, 11, 11036, 9625, 25, 610, 11, 836, 5595, 5156, 25, 610, 11, 836, 5595, 87347, 25, 610, 11, 4096, 5595, 5156, 25, 610, 11, 4096, 5595, 87347, 25, 610, 11, 4259, 25, 12536, 58, 8644, 60, 284, 2290, 11, 6464, 25, 13749, 2714, 11, 12708, 2975, 25, 12536, 17752, 60, 284, 2290, 11, 3729, 9351, 25, 12536, 17752, 60, 284, 2290, 11, 5897, 3186, 2975, 25, 12536, 17752, 60, 284, 2290, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 65705, 198, 15836, 21940, 20288, 627, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 6464, 25, 8859, 8995, 24029, 28067, 21721, 2714, 510, 8327, 60, 55609, 198, 913, 4259, 25, 12536, 58, 8644, 60, 284, 2290, 55609, 198, 913, 3729, 9351, 25, 12536, 17752, 60, 284, 2290, 55609, 198, 913, 4096, 5595, 87347, 25, 610, 510, 8327, 60, 55609, 198, 913, 4096, 5595, 5156, 25, 610, 510, 8327, 60, 55609, 198, 913, 5897, 3186, 2975, 25, 12536, 17752, 60, 284, 2290, 55609, 198, 913, 12708, 2975, 25, 12536, 17752, 60, 284, 2290, 55609, 198, 913, 836, 5595, 87347, 25, 610, 510, 8327, 60, 55609, 198, 913, 836, 5595, 5156, 25, 610, 510, 8327, 60, 55609, 198, 913, 11036, 9625, 25, 610, 510, 8327, 60, 55609, 198, 27853, 505, 2975, 6659, 25, 610, 8, 11651, 15592, 11807, 76747, 60, 55609, 198, 81651, 15592, 11807, 505, 264, 5665, 13 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.plugin.AIPlugin.html
cda6fb6d7158-0
langchain.tools.gmail.search.GmailSearch¶ class langchain.tools.gmail.search.GmailSearch(*, name: str = 'search_gmail', description: str = 'Use this tool to search for email messages or threads. The input must be a valid Gmail query. The output is a JSON list of the requested resource.', args_schema: ~typing.Type[~langchain.tools.gmail.search.SearchArgsSchema] = <class 'langchain.tools.gmail.search.SearchArgsSchema'>, return_direct: bool = False, verbose: bool = False, callbacks: ~typing.Optional[~typing.Union[~typing.List[~langchain.callbacks.base.BaseCallbackHandler], ~langchain.callbacks.base.BaseCallbackManager]] = None, callback_manager: ~typing.Optional[~langchain.callbacks.base.BaseCallbackManager] = None, handle_tool_error: ~typing.Optional[~typing.Union[bool, str, ~typing.Callable[[~langchain.tools.base.ToolException], str]]] = False, api_resource: Resource = None)[source]¶ Bases: GmailBaseTool Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param api_resource: Resource [Optional]¶ param args_schema: Type[langchain.tools.gmail.search.SearchArgsSchema] = <class 'langchain.tools.gmail.search.SearchArgsSchema'>¶ Pydantic model class to validate and parse the tool’s input arguments. param callback_manager: Optional[BaseCallbackManager] = None¶ Deprecated. Please use callbacks instead. param callbacks: Callbacks = None¶ Callbacks to be called during tool execution. param description: str = 'Use this tool to search for email messages or threads. The input must be a valid Gmail query. The output is a JSON list of the requested resource.'¶
[ 5317, 8995, 24029, 73054, 9472, 1246, 3796, 6014, 55609, 198, 1058, 8859, 8995, 24029, 73054, 9472, 1246, 3796, 6014, 4163, 11, 836, 25, 610, 284, 364, 1874, 1928, 3796, 518, 4096, 25, 610, 284, 364, 10464, 420, 5507, 311, 2778, 369, 2613, 6743, 477, 14906, 13, 578, 1988, 2011, 387, 264, 2764, 62046, 3319, 13, 578, 2612, 374, 264, 4823, 1160, 315, 279, 11472, 5211, 16045, 2897, 26443, 25, 4056, 90902, 10394, 58, 93, 5317, 8995, 24029, 73054, 9472, 33003, 4209, 8802, 60, 284, 366, 1058, 364, 5317, 8995, 24029, 73054, 9472, 33003, 4209, 8802, 6404, 11, 471, 33971, 25, 1845, 284, 3641, 11, 14008, 25, 1845, 284, 3641, 11, 27777, 25, 4056, 90902, 37464, 58, 93, 90902, 10840, 290, 58, 93, 90902, 5937, 58, 93, 5317, 8995, 72134, 9105, 13316, 7646, 3126, 1145, 4056, 5317, 8995, 72134, 9105, 13316, 7646, 2087, 5163, 284, 2290, 11, 4927, 12418, 25, 4056, 90902, 37464, 58, 93, 5317, 8995, 72134, 9105, 13316, 7646, 2087, 60, 284, 2290, 11, 3790, 23627, 4188, 25, 4056, 90902, 37464, 58, 93, 90902, 10840, 290, 58, 2707, 11, 610, 11, 4056, 90902, 28115, 481, 15873, 93, 5317, 8995, 24029, 9105, 25443, 1378, 1145, 610, 5163, 60, 284, 3641, 11, 6464, 18446, 25, 12027, 284, 2290, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 62046, 4066, 7896, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 6464, 18446, 25, 12027, 510, 15669, 60, 55609, 198, 913, 2897, 26443, 25, 4078, 58, 5317, 8995, 24029, 73054, 9472, 33003, 4209, 8802, 60, 284, 366, 1058, 364, 5317, 8995, 24029, 73054, 9472, 33003, 4209, 8802, 6404, 55609, 198, 14149, 67, 8322, 1646, 538, 311, 9788, 323, 4820, 279, 5507, 753, 1988, 6105, 627, 913, 4927, 12418, 25, 12536, 58, 4066, 7646, 2087, 60, 284, 2290, 55609, 198, 52444, 13, 5321, 1005, 27777, 4619, 627, 913, 27777, 25, 23499, 82, 284, 2290, 55609, 198, 45561, 311, 387, 2663, 2391, 5507, 11572, 627, 913, 4096, 25, 610, 284, 364, 10464, 420, 5507, 311, 2778, 369, 2613, 6743, 477, 14906, 13, 578, 1988, 2011, 387, 264, 2764, 62046, 3319, 13, 578, 2612, 374, 264, 4823, 1160, 315, 279, 11472, 5211, 3238, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.gmail.search.GmailSearch.html
cda6fb6d7158-1
Used to tell the model how/when/why to use the tool. You can provide few-shot examples as a part of the description. param handle_tool_error: Optional[Union[bool, str, Callable[[ToolException], str]]] = False¶ Handle the content of the ToolException thrown. param name: str = 'search_gmail'¶ The unique name of the tool that clearly communicates its purpose. param return_direct: bool = False¶ Whether to return the tool’s output directly. Setting this to True means that after the tool is called, the AgentExecutor will stop looping. param verbose: bool = False¶ Whether to log the tool’s progress. __call__(tool_input: str, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None) → str¶ Make tool callable. async arun(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool asynchronously. classmethod from_api_resource(api_resource: Resource) → GmailBaseTool¶ validator raise_deprecation  »  all fields¶ Raise deprecation warning if callback_manager is used. run(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool. property args: dict¶ property is_single_input: bool¶ Whether the tool only accepts a single input. model Config¶ Bases: object
[ 23580, 311, 3371, 279, 1646, 1268, 14, 9493, 14, 35734, 311, 1005, 279, 5507, 627, 2675, 649, 3493, 2478, 64630, 10507, 439, 264, 961, 315, 279, 4096, 627, 913, 3790, 23627, 4188, 25, 12536, 58, 33758, 58, 2707, 11, 610, 11, 54223, 15873, 7896, 1378, 1145, 610, 5163, 60, 284, 3641, 55609, 198, 7144, 279, 2262, 315, 279, 13782, 1378, 15338, 627, 913, 836, 25, 610, 284, 364, 1874, 1928, 3796, 6, 55609, 198, 791, 5016, 836, 315, 279, 5507, 430, 9539, 92606, 1202, 7580, 627, 913, 471, 33971, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 471, 279, 5507, 753, 2612, 6089, 13, 20638, 420, 311, 3082, 3445, 198, 9210, 1306, 279, 5507, 374, 2663, 11, 279, 21372, 26321, 690, 3009, 63687, 627, 913, 14008, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 1515, 279, 5507, 753, 5208, 627, 565, 6797, 3889, 14506, 6022, 25, 610, 11, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 8, 11651, 610, 55609, 198, 8238, 5507, 42022, 627, 7847, 802, 359, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 68881, 627, 27853, 505, 11959, 18446, 25865, 18446, 25, 12027, 8, 11651, 62046, 4066, 7896, 55609, 198, 16503, 4933, 2310, 70693, 4194, 8345, 4194, 682, 5151, 55609, 198, 94201, 409, 70693, 10163, 422, 4927, 12418, 374, 1511, 627, 6236, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 627, 3784, 2897, 25, 6587, 55609, 198, 3784, 374, 20052, 6022, 25, 1845, 55609, 198, 25729, 279, 5507, 1193, 27441, 264, 3254, 1988, 627, 2590, 5649, 55609, 198, 33, 2315, 25, 1665 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.gmail.search.GmailSearch.html
cda6fb6d7158-2
Whether the tool only accepts a single input. model Config¶ Bases: object Configuration for this pydantic object. arbitrary_types_allowed = True¶ extra = 'forbid'¶
[ 25729, 279, 5507, 1193, 27441, 264, 3254, 1988, 627, 2590, 5649, 55609, 198, 33, 2315, 25, 1665, 198, 7843, 369, 420, 4611, 67, 8322, 1665, 627, 277, 88951, 9962, 43255, 284, 3082, 55609, 198, 15824, 284, 364, 2000, 21301, 6, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.gmail.search.GmailSearch.html
ba22607dcf64-0
langchain.tools.file_management.copy.FileCopyInput¶ class langchain.tools.file_management.copy.FileCopyInput(*, source_path: str, destination_path: str)[source]¶ Bases: BaseModel Input for CopyFileTool. Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param destination_path: str [Required]¶ Path to save the copied file param source_path: str [Required]¶ Path of the file to copy
[ 5317, 8995, 24029, 9914, 46463, 12511, 8744, 12379, 2566, 55609, 198, 1058, 8859, 8995, 24029, 9914, 46463, 12511, 8744, 12379, 2566, 4163, 11, 2592, 2703, 25, 610, 11, 9284, 2703, 25, 610, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 65705, 198, 2566, 369, 14882, 1738, 7896, 627, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 9284, 2703, 25, 610, 510, 8327, 60, 55609, 198, 1858, 311, 3665, 279, 22523, 1052, 198, 913, 2592, 2703, 25, 610, 510, 8327, 60, 55609, 198, 1858, 315, 279, 1052, 311, 3048 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.file_management.copy.FileCopyInput.html
6412f9d31d12-0
langchain.tools.file_management.delete.DeleteFileTool¶ class langchain.tools.file_management.delete.DeleteFileTool(*, name: str = 'file_delete', description: str = 'Delete a file', args_schema: ~typing.Type[~pydantic.main.BaseModel] = <class 'langchain.tools.file_management.delete.FileDeleteInput'>, return_direct: bool = False, verbose: bool = False, callbacks: ~typing.Optional[~typing.Union[~typing.List[~langchain.callbacks.base.BaseCallbackHandler], ~langchain.callbacks.base.BaseCallbackManager]] = None, callback_manager: ~typing.Optional[~langchain.callbacks.base.BaseCallbackManager] = None, handle_tool_error: ~typing.Optional[~typing.Union[bool, str, ~typing.Callable[[~langchain.tools.base.ToolException], str]]] = False, root_dir: ~typing.Optional[str] = None)[source]¶ Bases: BaseFileToolMixin, BaseTool Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param args_schema: Type[pydantic.main.BaseModel] = <class 'langchain.tools.file_management.delete.FileDeleteInput'>¶ Pydantic model class to validate and parse the tool’s input arguments. param callback_manager: Optional[BaseCallbackManager] = None¶ Deprecated. Please use callbacks instead. param callbacks: Callbacks = None¶ Callbacks to be called during tool execution. param description: str = 'Delete a file'¶ Used to tell the model how/when/why to use the tool. You can provide few-shot examples as a part of the description. param handle_tool_error: Optional[Union[bool, str, Callable[[ToolException], str]]] = False¶ Handle the content of the ToolException thrown.
[ 5317, 8995, 24029, 9914, 46463, 7592, 19404, 1738, 7896, 55609, 198, 1058, 8859, 8995, 24029, 9914, 46463, 7592, 19404, 1738, 7896, 4163, 11, 836, 25, 610, 284, 364, 1213, 11607, 518, 4096, 25, 610, 284, 364, 6571, 264, 1052, 518, 2897, 26443, 25, 4056, 90902, 10394, 58, 93, 3368, 67, 8322, 9056, 13316, 1747, 60, 284, 366, 1058, 364, 5317, 8995, 24029, 9914, 46463, 7592, 8744, 6571, 2566, 6404, 11, 471, 33971, 25, 1845, 284, 3641, 11, 14008, 25, 1845, 284, 3641, 11, 27777, 25, 4056, 90902, 37464, 58, 93, 90902, 10840, 290, 58, 93, 90902, 5937, 58, 93, 5317, 8995, 72134, 9105, 13316, 7646, 3126, 1145, 4056, 5317, 8995, 72134, 9105, 13316, 7646, 2087, 5163, 284, 2290, 11, 4927, 12418, 25, 4056, 90902, 37464, 58, 93, 5317, 8995, 72134, 9105, 13316, 7646, 2087, 60, 284, 2290, 11, 3790, 23627, 4188, 25, 4056, 90902, 37464, 58, 93, 90902, 10840, 290, 58, 2707, 11, 610, 11, 4056, 90902, 28115, 481, 15873, 93, 5317, 8995, 24029, 9105, 25443, 1378, 1145, 610, 5163, 60, 284, 3641, 11, 3789, 4432, 25, 4056, 90902, 37464, 17752, 60, 284, 2290, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 1738, 7896, 39556, 11, 5464, 7896, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 2897, 26443, 25, 4078, 58, 3368, 67, 8322, 9056, 13316, 1747, 60, 284, 366, 1058, 364, 5317, 8995, 24029, 9914, 46463, 7592, 8744, 6571, 2566, 6404, 55609, 198, 14149, 67, 8322, 1646, 538, 311, 9788, 323, 4820, 279, 5507, 753, 1988, 6105, 627, 913, 4927, 12418, 25, 12536, 58, 4066, 7646, 2087, 60, 284, 2290, 55609, 198, 52444, 13, 5321, 1005, 27777, 4619, 627, 913, 27777, 25, 23499, 82, 284, 2290, 55609, 198, 45561, 311, 387, 2663, 2391, 5507, 11572, 627, 913, 4096, 25, 610, 284, 364, 6571, 264, 1052, 6, 55609, 198, 23580, 311, 3371, 279, 1646, 1268, 14, 9493, 14, 35734, 311, 1005, 279, 5507, 627, 2675, 649, 3493, 2478, 64630, 10507, 439, 264, 961, 315, 279, 4096, 627, 913, 3790, 23627, 4188, 25, 12536, 58, 33758, 58, 2707, 11, 610, 11, 54223, 15873, 7896, 1378, 1145, 610, 5163, 60, 284, 3641, 55609, 198, 7144, 279, 2262, 315, 279, 13782, 1378, 15338, 13 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.file_management.delete.DeleteFileTool.html
6412f9d31d12-1
Handle the content of the ToolException thrown. param name: str = 'file_delete'¶ The unique name of the tool that clearly communicates its purpose. param return_direct: bool = False¶ Whether to return the tool’s output directly. Setting this to True means that after the tool is called, the AgentExecutor will stop looping. param root_dir: Optional[str] = None¶ The final path will be chosen relative to root_dir if specified. param verbose: bool = False¶ Whether to log the tool’s progress. __call__(tool_input: str, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None) → str¶ Make tool callable. async arun(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool asynchronously. get_relative_path(file_path: str) → Path¶ Get the relative path, returning an error if unsupported. validator raise_deprecation  »  all fields¶ Raise deprecation warning if callback_manager is used. run(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool. property args: dict¶ property is_single_input: bool¶ Whether the tool only accepts a single input. model Config¶ Bases: object Configuration for this pydantic object. arbitrary_types_allowed = True¶ extra = 'forbid'¶
[ 7144, 279, 2262, 315, 279, 13782, 1378, 15338, 627, 913, 836, 25, 610, 284, 364, 1213, 11607, 6, 55609, 198, 791, 5016, 836, 315, 279, 5507, 430, 9539, 92606, 1202, 7580, 627, 913, 471, 33971, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 471, 279, 5507, 753, 2612, 6089, 13, 20638, 420, 311, 3082, 3445, 198, 9210, 1306, 279, 5507, 374, 2663, 11, 279, 21372, 26321, 690, 3009, 63687, 627, 913, 3789, 4432, 25, 12536, 17752, 60, 284, 2290, 55609, 198, 791, 1620, 1853, 690, 387, 12146, 8844, 311, 3789, 4432, 422, 5300, 627, 913, 14008, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 1515, 279, 5507, 753, 5208, 627, 565, 6797, 3889, 14506, 6022, 25, 610, 11, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 8, 11651, 610, 55609, 198, 8238, 5507, 42022, 627, 7847, 802, 359, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 68881, 627, 456, 30386, 2703, 4971, 2703, 25, 610, 8, 11651, 8092, 55609, 198, 1991, 279, 8844, 1853, 11, 13758, 459, 1493, 422, 41509, 627, 16503, 4933, 2310, 70693, 4194, 8345, 4194, 682, 5151, 55609, 198, 94201, 409, 70693, 10163, 422, 4927, 12418, 374, 1511, 627, 6236, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 627, 3784, 2897, 25, 6587, 55609, 198, 3784, 374, 20052, 6022, 25, 1845, 55609, 198, 25729, 279, 5507, 1193, 27441, 264, 3254, 1988, 627, 2590, 5649, 55609, 198, 33, 2315, 25, 1665, 198, 7843, 369, 420, 4611, 67, 8322, 1665, 627, 277, 88951, 9962, 43255, 284, 3082, 55609, 198, 15824, 284, 364, 2000, 21301, 6, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.file_management.delete.DeleteFileTool.html
ddfe26b2d0c9-0
langchain.tools.gmail.create_draft.GmailCreateDraft¶ class langchain.tools.gmail.create_draft.GmailCreateDraft(*, name: str = 'create_gmail_draft', description: str = 'Use this tool to create a draft email with the provided message fields.', args_schema: ~typing.Type[~langchain.tools.gmail.create_draft.CreateDraftSchema] = <class 'langchain.tools.gmail.create_draft.CreateDraftSchema'>, return_direct: bool = False, verbose: bool = False, callbacks: ~typing.Optional[~typing.Union[~typing.List[~langchain.callbacks.base.BaseCallbackHandler], ~langchain.callbacks.base.BaseCallbackManager]] = None, callback_manager: ~typing.Optional[~langchain.callbacks.base.BaseCallbackManager] = None, handle_tool_error: ~typing.Optional[~typing.Union[bool, str, ~typing.Callable[[~langchain.tools.base.ToolException], str]]] = False, api_resource: Resource = None)[source]¶ Bases: GmailBaseTool Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param api_resource: Resource [Optional]¶ param args_schema: Type[langchain.tools.gmail.create_draft.CreateDraftSchema] = <class 'langchain.tools.gmail.create_draft.CreateDraftSchema'>¶ Pydantic model class to validate and parse the tool’s input arguments. param callback_manager: Optional[BaseCallbackManager] = None¶ Deprecated. Please use callbacks instead. param callbacks: Callbacks = None¶ Callbacks to be called during tool execution. param description: str = 'Use this tool to create a draft email with the provided message fields.'¶ Used to tell the model how/when/why to use the tool. You can provide few-shot examples as a part of the description.
[ 5317, 8995, 24029, 73054, 2581, 92439, 1246, 3796, 4110, 51186, 55609, 198, 1058, 8859, 8995, 24029, 73054, 2581, 92439, 1246, 3796, 4110, 51186, 4163, 11, 836, 25, 610, 284, 364, 3261, 1928, 3796, 92439, 518, 4096, 25, 610, 284, 364, 10464, 420, 5507, 311, 1893, 264, 10165, 2613, 449, 279, 3984, 1984, 5151, 16045, 2897, 26443, 25, 4056, 90902, 10394, 58, 93, 5317, 8995, 24029, 73054, 2581, 92439, 7399, 51186, 8802, 60, 284, 366, 1058, 364, 5317, 8995, 24029, 73054, 2581, 92439, 7399, 51186, 8802, 6404, 11, 471, 33971, 25, 1845, 284, 3641, 11, 14008, 25, 1845, 284, 3641, 11, 27777, 25, 4056, 90902, 37464, 58, 93, 90902, 10840, 290, 58, 93, 90902, 5937, 58, 93, 5317, 8995, 72134, 9105, 13316, 7646, 3126, 1145, 4056, 5317, 8995, 72134, 9105, 13316, 7646, 2087, 5163, 284, 2290, 11, 4927, 12418, 25, 4056, 90902, 37464, 58, 93, 5317, 8995, 72134, 9105, 13316, 7646, 2087, 60, 284, 2290, 11, 3790, 23627, 4188, 25, 4056, 90902, 37464, 58, 93, 90902, 10840, 290, 58, 2707, 11, 610, 11, 4056, 90902, 28115, 481, 15873, 93, 5317, 8995, 24029, 9105, 25443, 1378, 1145, 610, 5163, 60, 284, 3641, 11, 6464, 18446, 25, 12027, 284, 2290, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 62046, 4066, 7896, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 6464, 18446, 25, 12027, 510, 15669, 60, 55609, 198, 913, 2897, 26443, 25, 4078, 58, 5317, 8995, 24029, 73054, 2581, 92439, 7399, 51186, 8802, 60, 284, 366, 1058, 364, 5317, 8995, 24029, 73054, 2581, 92439, 7399, 51186, 8802, 6404, 55609, 198, 14149, 67, 8322, 1646, 538, 311, 9788, 323, 4820, 279, 5507, 753, 1988, 6105, 627, 913, 4927, 12418, 25, 12536, 58, 4066, 7646, 2087, 60, 284, 2290, 55609, 198, 52444, 13, 5321, 1005, 27777, 4619, 627, 913, 27777, 25, 23499, 82, 284, 2290, 55609, 198, 45561, 311, 387, 2663, 2391, 5507, 11572, 627, 913, 4096, 25, 610, 284, 364, 10464, 420, 5507, 311, 1893, 264, 10165, 2613, 449, 279, 3984, 1984, 5151, 3238, 55609, 198, 23580, 311, 3371, 279, 1646, 1268, 14, 9493, 14, 35734, 311, 1005, 279, 5507, 627, 2675, 649, 3493, 2478, 64630, 10507, 439, 264, 961, 315, 279, 4096, 13 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.gmail.create_draft.GmailCreateDraft.html
ddfe26b2d0c9-1
You can provide few-shot examples as a part of the description. param handle_tool_error: Optional[Union[bool, str, Callable[[ToolException], str]]] = False¶ Handle the content of the ToolException thrown. param name: str = 'create_gmail_draft'¶ The unique name of the tool that clearly communicates its purpose. param return_direct: bool = False¶ Whether to return the tool’s output directly. Setting this to True means that after the tool is called, the AgentExecutor will stop looping. param verbose: bool = False¶ Whether to log the tool’s progress. __call__(tool_input: str, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None) → str¶ Make tool callable. async arun(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool asynchronously. classmethod from_api_resource(api_resource: Resource) → GmailBaseTool¶ validator raise_deprecation  »  all fields¶ Raise deprecation warning if callback_manager is used. run(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool. property args: dict¶ property is_single_input: bool¶ Whether the tool only accepts a single input. model Config¶ Bases: object Configuration for this pydantic object. arbitrary_types_allowed = True¶
[ 2675, 649, 3493, 2478, 64630, 10507, 439, 264, 961, 315, 279, 4096, 627, 913, 3790, 23627, 4188, 25, 12536, 58, 33758, 58, 2707, 11, 610, 11, 54223, 15873, 7896, 1378, 1145, 610, 5163, 60, 284, 3641, 55609, 198, 7144, 279, 2262, 315, 279, 13782, 1378, 15338, 627, 913, 836, 25, 610, 284, 364, 3261, 1928, 3796, 92439, 6, 55609, 198, 791, 5016, 836, 315, 279, 5507, 430, 9539, 92606, 1202, 7580, 627, 913, 471, 33971, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 471, 279, 5507, 753, 2612, 6089, 13, 20638, 420, 311, 3082, 3445, 198, 9210, 1306, 279, 5507, 374, 2663, 11, 279, 21372, 26321, 690, 3009, 63687, 627, 913, 14008, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 1515, 279, 5507, 753, 5208, 627, 565, 6797, 3889, 14506, 6022, 25, 610, 11, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 8, 11651, 610, 55609, 198, 8238, 5507, 42022, 627, 7847, 802, 359, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 68881, 627, 27853, 505, 11959, 18446, 25865, 18446, 25, 12027, 8, 11651, 62046, 4066, 7896, 55609, 198, 16503, 4933, 2310, 70693, 4194, 8345, 4194, 682, 5151, 55609, 198, 94201, 409, 70693, 10163, 422, 4927, 12418, 374, 1511, 627, 6236, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 627, 3784, 2897, 25, 6587, 55609, 198, 3784, 374, 20052, 6022, 25, 1845, 55609, 198, 25729, 279, 5507, 1193, 27441, 264, 3254, 1988, 627, 2590, 5649, 55609, 198, 33, 2315, 25, 1665, 198, 7843, 369, 420, 4611, 67, 8322, 1665, 627, 277, 88951, 9962, 43255, 284, 3082, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.gmail.create_draft.GmailCreateDraft.html
ddfe26b2d0c9-2
Configuration for this pydantic object. arbitrary_types_allowed = True¶ extra = 'forbid'¶
[ 7843, 369, 420, 4611, 67, 8322, 1665, 627, 277, 88951, 9962, 43255, 284, 3082, 55609, 198, 15824, 284, 364, 2000, 21301, 6, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.gmail.create_draft.GmailCreateDraft.html
7e15a734b061-0
langchain.tools.vectorstore.tool.VectorStoreQATool¶ class langchain.tools.vectorstore.tool.VectorStoreQATool(*, name: str, description: str, args_schema: Optional[Type[BaseModel]] = None, return_direct: bool = False, verbose: bool = False, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, callback_manager: Optional[BaseCallbackManager] = None, handle_tool_error: Optional[Union[bool, str, Callable[[ToolException], str]]] = False, vectorstore: VectorStore, llm: BaseLanguageModel = None)[source]¶ Bases: BaseVectorStoreTool, BaseTool Tool for the VectorDBQA chain. To be initialized with name and chain. Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param args_schema: Optional[Type[BaseModel]] = None¶ Pydantic model class to validate and parse the tool’s input arguments. param callback_manager: Optional[BaseCallbackManager] = None¶ Deprecated. Please use callbacks instead. param callbacks: Callbacks = None¶ Callbacks to be called during tool execution. param description: str [Required]¶ Used to tell the model how/when/why to use the tool. You can provide few-shot examples as a part of the description. param handle_tool_error: Optional[Union[bool, str, Callable[[ToolException], str]]] = False¶ Handle the content of the ToolException thrown. param llm: langchain.base_language.BaseLanguageModel [Optional]¶ param name: str [Required]¶ The unique name of the tool that clearly communicates its purpose. param return_direct: bool = False¶
[ 5317, 8995, 24029, 48203, 4412, 21966, 14621, 6221, 48, 835, 1786, 55609, 198, 1058, 8859, 8995, 24029, 48203, 4412, 21966, 14621, 6221, 48, 835, 1786, 4163, 11, 836, 25, 610, 11, 4096, 25, 610, 11, 2897, 26443, 25, 12536, 58, 941, 58, 4066, 1747, 5163, 284, 2290, 11, 471, 33971, 25, 1845, 284, 3641, 11, 14008, 25, 1845, 284, 3641, 11, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 4927, 12418, 25, 12536, 58, 4066, 7646, 2087, 60, 284, 2290, 11, 3790, 23627, 4188, 25, 12536, 58, 33758, 58, 2707, 11, 610, 11, 54223, 15873, 7896, 1378, 1145, 610, 5163, 60, 284, 3641, 11, 4724, 4412, 25, 4290, 6221, 11, 9507, 76, 25, 5464, 14126, 1747, 284, 2290, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 3866, 6221, 7896, 11, 5464, 7896, 198, 7896, 369, 279, 4290, 3590, 48622, 8957, 13, 2057, 387, 17719, 449, 836, 323, 8957, 627, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 2897, 26443, 25, 12536, 58, 941, 58, 4066, 1747, 5163, 284, 2290, 55609, 198, 14149, 67, 8322, 1646, 538, 311, 9788, 323, 4820, 279, 5507, 753, 1988, 6105, 627, 913, 4927, 12418, 25, 12536, 58, 4066, 7646, 2087, 60, 284, 2290, 55609, 198, 52444, 13, 5321, 1005, 27777, 4619, 627, 913, 27777, 25, 23499, 82, 284, 2290, 55609, 198, 45561, 311, 387, 2663, 2391, 5507, 11572, 627, 913, 4096, 25, 610, 510, 8327, 60, 55609, 198, 23580, 311, 3371, 279, 1646, 1268, 14, 9493, 14, 35734, 311, 1005, 279, 5507, 627, 2675, 649, 3493, 2478, 64630, 10507, 439, 264, 961, 315, 279, 4096, 627, 913, 3790, 23627, 4188, 25, 12536, 58, 33758, 58, 2707, 11, 610, 11, 54223, 15873, 7896, 1378, 1145, 610, 5163, 60, 284, 3641, 55609, 198, 7144, 279, 2262, 315, 279, 13782, 1378, 15338, 627, 913, 9507, 76, 25, 8859, 8995, 9105, 30121, 13316, 14126, 1747, 510, 15669, 60, 55609, 198, 913, 836, 25, 610, 510, 8327, 60, 55609, 198, 791, 5016, 836, 315, 279, 5507, 430, 9539, 92606, 1202, 7580, 627, 913, 471, 33971, 25, 1845, 284, 3641, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.vectorstore.tool.VectorStoreQATool.html
7e15a734b061-1
param return_direct: bool = False¶ Whether to return the tool’s output directly. Setting this to True means that after the tool is called, the AgentExecutor will stop looping. param vectorstore: langchain.vectorstores.base.VectorStore [Required]¶ param verbose: bool = False¶ Whether to log the tool’s progress. __call__(tool_input: str, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None) → str¶ Make tool callable. async arun(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool asynchronously. static get_description(name: str, description: str) → str[source]¶ validator raise_deprecation  »  all fields¶ Raise deprecation warning if callback_manager is used. run(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool. property args: dict¶ property is_single_input: bool¶ Whether the tool only accepts a single input. model Config¶ Bases: Config Configuration for this pydantic object. arbitrary_types_allowed = True¶ extra = 'forbid'¶
[ 913, 471, 33971, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 471, 279, 5507, 753, 2612, 6089, 13, 20638, 420, 311, 3082, 3445, 198, 9210, 1306, 279, 5507, 374, 2663, 11, 279, 21372, 26321, 690, 3009, 63687, 627, 913, 4724, 4412, 25, 8859, 8995, 48203, 44569, 9105, 14621, 6221, 510, 8327, 60, 55609, 198, 913, 14008, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 1515, 279, 5507, 753, 5208, 627, 565, 6797, 3889, 14506, 6022, 25, 610, 11, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 8, 11651, 610, 55609, 198, 8238, 5507, 42022, 627, 7847, 802, 359, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 68881, 627, 2020, 636, 11703, 3232, 25, 610, 11, 4096, 25, 610, 8, 11651, 610, 76747, 60, 55609, 198, 16503, 4933, 2310, 70693, 4194, 8345, 4194, 682, 5151, 55609, 198, 94201, 409, 70693, 10163, 422, 4927, 12418, 374, 1511, 627, 6236, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 627, 3784, 2897, 25, 6587, 55609, 198, 3784, 374, 20052, 6022, 25, 1845, 55609, 198, 25729, 279, 5507, 1193, 27441, 264, 3254, 1988, 627, 2590, 5649, 55609, 198, 33, 2315, 25, 5649, 198, 7843, 369, 420, 4611, 67, 8322, 1665, 627, 277, 88951, 9962, 43255, 284, 3082, 55609, 198, 15824, 284, 364, 2000, 21301, 6, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.vectorstore.tool.VectorStoreQATool.html
3dc4e6769f09-0
langchain.tools.google_serper.tool.GoogleSerperRun¶ class langchain.tools.google_serper.tool.GoogleSerperRun(*, name: str = 'google_serper', description: str = 'A low-cost Google Search API.Useful for when you need to answer questions about current events.Input should be a search query.', args_schema: Optional[Type[BaseModel]] = None, return_direct: bool = False, verbose: bool = False, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, callback_manager: Optional[BaseCallbackManager] = None, handle_tool_error: Optional[Union[bool, str, Callable[[ToolException], str]]] = False, api_wrapper: GoogleSerperAPIWrapper)[source]¶ Bases: BaseTool Tool that adds the capability to query the Serper.dev Google search API. Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param api_wrapper: langchain.utilities.google_serper.GoogleSerperAPIWrapper [Required]¶ param args_schema: Optional[Type[BaseModel]] = None¶ Pydantic model class to validate and parse the tool’s input arguments. param callback_manager: Optional[BaseCallbackManager] = None¶ Deprecated. Please use callbacks instead. param callbacks: Callbacks = None¶ Callbacks to be called during tool execution. param description: str = 'A low-cost Google Search API.Useful for when you need to answer questions about current events.Input should be a search query.'¶ Used to tell the model how/when/why to use the tool. You can provide few-shot examples as a part of the description. param handle_tool_error: Optional[Union[bool, str, Callable[[ToolException], str]]] = False¶
[ 5317, 8995, 24029, 5831, 76961, 716, 21966, 61493, 32845, 716, 6869, 55609, 198, 1058, 8859, 8995, 24029, 5831, 76961, 716, 21966, 61493, 32845, 716, 6869, 4163, 11, 836, 25, 610, 284, 364, 17943, 76961, 716, 518, 4096, 25, 610, 284, 364, 32, 3428, 41238, 5195, 7694, 5446, 9223, 1285, 369, 994, 499, 1205, 311, 4320, 4860, 922, 1510, 4455, 16521, 1288, 387, 264, 2778, 3319, 16045, 2897, 26443, 25, 12536, 58, 941, 58, 4066, 1747, 5163, 284, 2290, 11, 471, 33971, 25, 1845, 284, 3641, 11, 14008, 25, 1845, 284, 3641, 11, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 4927, 12418, 25, 12536, 58, 4066, 7646, 2087, 60, 284, 2290, 11, 3790, 23627, 4188, 25, 12536, 58, 33758, 58, 2707, 11, 610, 11, 54223, 15873, 7896, 1378, 1145, 610, 5163, 60, 284, 3641, 11, 6464, 24474, 25, 5195, 32845, 716, 7227, 11803, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 7896, 198, 7896, 430, 11621, 279, 23099, 311, 3319, 279, 8409, 716, 22247, 5195, 2778, 5446, 627, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 6464, 24474, 25, 8859, 8995, 63795, 5831, 76961, 716, 61493, 32845, 716, 7227, 11803, 510, 8327, 60, 55609, 198, 913, 2897, 26443, 25, 12536, 58, 941, 58, 4066, 1747, 5163, 284, 2290, 55609, 198, 14149, 67, 8322, 1646, 538, 311, 9788, 323, 4820, 279, 5507, 753, 1988, 6105, 627, 913, 4927, 12418, 25, 12536, 58, 4066, 7646, 2087, 60, 284, 2290, 55609, 198, 52444, 13, 5321, 1005, 27777, 4619, 627, 913, 27777, 25, 23499, 82, 284, 2290, 55609, 198, 45561, 311, 387, 2663, 2391, 5507, 11572, 627, 913, 4096, 25, 610, 284, 364, 32, 3428, 41238, 5195, 7694, 5446, 9223, 1285, 369, 994, 499, 1205, 311, 4320, 4860, 922, 1510, 4455, 16521, 1288, 387, 264, 2778, 3319, 3238, 55609, 198, 23580, 311, 3371, 279, 1646, 1268, 14, 9493, 14, 35734, 311, 1005, 279, 5507, 627, 2675, 649, 3493, 2478, 64630, 10507, 439, 264, 961, 315, 279, 4096, 627, 913, 3790, 23627, 4188, 25, 12536, 58, 33758, 58, 2707, 11, 610, 11, 54223, 15873, 7896, 1378, 1145, 610, 5163, 60, 284, 3641, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.google_serper.tool.GoogleSerperRun.html
3dc4e6769f09-1
Handle the content of the ToolException thrown. param name: str = 'google_serper'¶ The unique name of the tool that clearly communicates its purpose. param return_direct: bool = False¶ Whether to return the tool’s output directly. Setting this to True means that after the tool is called, the AgentExecutor will stop looping. param verbose: bool = False¶ Whether to log the tool’s progress. __call__(tool_input: str, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None) → str¶ Make tool callable. async arun(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool asynchronously. validator raise_deprecation  »  all fields¶ Raise deprecation warning if callback_manager is used. run(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool. property args: dict¶ property is_single_input: bool¶ Whether the tool only accepts a single input. model Config¶ Bases: object Configuration for this pydantic object. arbitrary_types_allowed = True¶ extra = 'forbid'¶
[ 7144, 279, 2262, 315, 279, 13782, 1378, 15338, 627, 913, 836, 25, 610, 284, 364, 17943, 76961, 716, 6, 55609, 198, 791, 5016, 836, 315, 279, 5507, 430, 9539, 92606, 1202, 7580, 627, 913, 471, 33971, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 471, 279, 5507, 753, 2612, 6089, 13, 20638, 420, 311, 3082, 3445, 198, 9210, 1306, 279, 5507, 374, 2663, 11, 279, 21372, 26321, 690, 3009, 63687, 627, 913, 14008, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 1515, 279, 5507, 753, 5208, 627, 565, 6797, 3889, 14506, 6022, 25, 610, 11, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 8, 11651, 610, 55609, 198, 8238, 5507, 42022, 627, 7847, 802, 359, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 68881, 627, 16503, 4933, 2310, 70693, 4194, 8345, 4194, 682, 5151, 55609, 198, 94201, 409, 70693, 10163, 422, 4927, 12418, 374, 1511, 627, 6236, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 627, 3784, 2897, 25, 6587, 55609, 198, 3784, 374, 20052, 6022, 25, 1845, 55609, 198, 25729, 279, 5507, 1193, 27441, 264, 3254, 1988, 627, 2590, 5649, 55609, 198, 33, 2315, 25, 1665, 198, 7843, 369, 420, 4611, 67, 8322, 1665, 627, 277, 88951, 9962, 43255, 284, 3082, 55609, 198, 15824, 284, 364, 2000, 21301, 6, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.google_serper.tool.GoogleSerperRun.html
2f0884acdafd-0
langchain.tools.gmail.search.Resource¶ class langchain.tools.gmail.search.Resource(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶ Bases: str, Enum Enumerator of Resources to search. Methods __init__(*args, **kwds) capitalize() Return a capitalized version of the string. casefold() Return a version of the string suitable for caseless comparisons. center(width[, fillchar]) Return a centered string of length width. count(sub[, start[, end]]) Return the number of non-overlapping occurrences of substring sub in string S[start:end]. encode([encoding, errors]) Encode the string using the codec registered for encoding. endswith(suffix[, start[, end]]) Return True if S ends with the specified suffix, False otherwise. expandtabs([tabsize]) Return a copy where all tab characters are expanded using spaces. find(sub[, start[, end]]) Return the lowest index in S where substring sub is found, such that sub is contained within S[start:end]. format(*args, **kwargs) Return a formatted version of S, using substitutions from args and kwargs. format_map(mapping) Return a formatted version of S, using substitutions from mapping. index(sub[, start[, end]]) Return the lowest index in S where substring sub is found, such that sub is contained within S[start:end]. isalnum() Return True if the string is an alpha-numeric string, False otherwise. isalpha() Return True if the string is an alphabetic string, False otherwise. isascii() Return True if all characters in the string are ASCII, False otherwise. isdecimal() Return True if the string is a decimal string, False otherwise. isdigit()
[ 5317, 8995, 24029, 73054, 9472, 21429, 55609, 198, 1058, 8859, 8995, 24029, 73054, 9472, 21429, 3764, 11, 5144, 5980, 11, 12039, 4793, 5980, 11, 5965, 609, 5980, 11, 955, 5980, 11, 1212, 28, 16, 11, 19254, 5980, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 610, 11, 14416, 198, 10679, 315, 16607, 311, 2778, 627, 18337, 198, 565, 2381, 69106, 2164, 11, 4194, 334, 29700, 5469, 340, 82441, 746, 5715, 264, 98421, 2373, 315, 279, 925, 627, 5756, 20557, 746, 5715, 264, 2373, 315, 279, 925, 14791, 369, 1162, 1752, 36595, 627, 3133, 16830, 38372, 4194, 7712, 1799, 2608, 5715, 264, 31288, 925, 315, 3160, 2430, 627, 1868, 10849, 38372, 4194, 2527, 38372, 4194, 408, 27829, 5715, 279, 1396, 315, 2536, 29352, 91719, 57115, 315, 39549, 1207, 304, 925, 328, 29563, 26874, 27218, 6311, 2625, 17600, 11, 4194, 7805, 2608, 33635, 279, 925, 1701, 279, 35747, 9879, 369, 11418, 627, 1438, 4291, 97566, 38372, 4194, 2527, 38372, 4194, 408, 27829, 5715, 3082, 422, 328, 10548, 449, 279, 5300, 21166, 11, 3641, 6062, 627, 33417, 32093, 2625, 6323, 2190, 2608, 5715, 264, 3048, 1405, 682, 5769, 5885, 527, 17626, 1701, 12908, 627, 3990, 10849, 38372, 4194, 2527, 38372, 4194, 408, 27829, 5715, 279, 15821, 1963, 304, 328, 1405, 39549, 1207, 374, 1766, 11, 1778, 430, 1207, 374, 13282, 2949, 328, 29563, 26874, 27218, 2293, 4163, 2164, 11, 4194, 334, 9872, 340, 5715, 264, 24001, 2373, 315, 328, 11, 1701, 94750, 505, 2897, 323, 16901, 627, 2293, 5489, 82157, 340, 5715, 264, 24001, 2373, 315, 328, 11, 1701, 94750, 505, 13021, 627, 1275, 10849, 38372, 4194, 2527, 38372, 4194, 408, 27829, 5715, 279, 15821, 1963, 304, 328, 1405, 39549, 1207, 374, 1766, 11, 1778, 430, 1207, 374, 13282, 2949, 328, 29563, 26874, 27218, 285, 94462, 746, 5715, 3082, 422, 279, 925, 374, 459, 8451, 12, 20173, 925, 11, 3641, 6062, 627, 285, 7288, 746, 5715, 3082, 422, 279, 925, 374, 459, 65695, 45938, 925, 11, 3641, 6062, 627, 285, 24207, 746, 5715, 3082, 422, 682, 5885, 304, 279, 925, 527, 40416, 11, 3641, 6062, 627, 285, 24170, 746, 5715, 3082, 422, 279, 925, 374, 264, 12395, 925, 11, 3641, 6062, 627, 70929, 368 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.gmail.search.Resource.html
2f0884acdafd-1
Return True if the string is a decimal string, False otherwise. isdigit() Return True if the string is a digit string, False otherwise. isidentifier() Return True if the string is a valid Python identifier, False otherwise. islower() Return True if the string is a lowercase string, False otherwise. isnumeric() Return True if the string is a numeric string, False otherwise. isprintable() Return True if the string is printable, False otherwise. isspace() Return True if the string is a whitespace string, False otherwise. istitle() Return True if the string is a title-cased string, False otherwise. isupper() Return True if the string is an uppercase string, False otherwise. join(iterable, /) Concatenate any number of strings. ljust(width[, fillchar]) Return a left-justified string of length width. lower() Return a copy of the string converted to lowercase. lstrip([chars]) Return a copy of the string with leading whitespace removed. maketrans Return a translation table usable for str.translate(). partition(sep, /) Partition the string into three parts using the given separator. removeprefix(prefix, /) Return a str with the given prefix string removed if present. removesuffix(suffix, /) Return a str with the given suffix string removed if present. replace(old, new[, count]) Return a copy with all occurrences of substring old replaced by new. rfind(sub[, start[, end]]) Return the highest index in S where substring sub is found, such that sub is contained within S[start:end]. rindex(sub[, start[, end]]) Return the highest index in S where substring sub is found, such that sub is contained within S[start:end].
[ 5715, 3082, 422, 279, 925, 374, 264, 12395, 925, 11, 3641, 6062, 627, 70929, 746, 5715, 3082, 422, 279, 925, 374, 264, 16099, 925, 11, 3641, 6062, 627, 285, 16288, 746, 5715, 3082, 422, 279, 925, 374, 264, 2764, 13325, 13110, 11, 3641, 6062, 627, 285, 15115, 746, 5715, 3082, 422, 279, 925, 374, 264, 43147, 925, 11, 3641, 6062, 627, 285, 20173, 746, 5715, 3082, 422, 279, 925, 374, 264, 25031, 925, 11, 3641, 6062, 627, 285, 1374, 481, 746, 5715, 3082, 422, 279, 925, 374, 43095, 11, 3641, 6062, 627, 82870, 746, 5715, 3082, 422, 279, 925, 374, 264, 37472, 925, 11, 3641, 6062, 627, 380, 1017, 746, 5715, 3082, 422, 279, 925, 374, 264, 2316, 1824, 1503, 925, 11, 3641, 6062, 627, 285, 13886, 746, 5715, 3082, 422, 279, 925, 374, 459, 40582, 925, 11, 3641, 6062, 627, 6115, 28169, 481, 11, 4194, 54660, 79540, 32223, 904, 1396, 315, 9246, 627, 75, 4345, 16830, 38372, 4194, 7712, 1799, 2608, 5715, 264, 2163, 12, 4345, 1908, 925, 315, 3160, 2430, 627, 15115, 746, 5715, 264, 3048, 315, 279, 925, 16489, 311, 43147, 627, 75, 13406, 2625, 19811, 2608, 5715, 264, 3048, 315, 279, 925, 449, 6522, 37472, 7108, 627, 49662, 17820, 598, 198, 5715, 264, 14807, 2007, 41030, 369, 610, 26998, 26914, 42098, 10698, 79, 11, 4194, 54660, 51078, 279, 925, 1139, 2380, 5596, 1701, 279, 2728, 25829, 627, 5514, 12113, 30018, 11, 4194, 54660, 5715, 264, 610, 449, 279, 2728, 9436, 925, 7108, 422, 3118, 627, 1864, 10296, 13866, 97566, 11, 4194, 54660, 5715, 264, 610, 449, 279, 2728, 21166, 925, 7108, 422, 3118, 627, 8319, 22739, 11, 4194, 943, 38372, 4194, 1868, 2608, 5715, 264, 3048, 449, 682, 57115, 315, 39549, 2362, 12860, 555, 502, 627, 81, 3990, 10849, 38372, 4194, 2527, 38372, 4194, 408, 27829, 5715, 279, 8592, 1963, 304, 328, 1405, 39549, 1207, 374, 1766, 11, 1778, 430, 1207, 374, 13282, 2949, 328, 29563, 26874, 27218, 81, 1275, 10849, 38372, 4194, 2527, 38372, 4194, 408, 27829, 5715, 279, 8592, 1963, 304, 328, 1405, 39549, 1207, 374, 1766, 11, 1778, 430, 1207, 374, 13282, 2949, 328, 29563, 26874, 948 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.gmail.search.Resource.html
2f0884acdafd-2
rjust(width[, fillchar]) Return a right-justified string of length width. rpartition(sep, /) Partition the string into three parts using the given separator. rsplit([sep, maxsplit]) Return a list of the substrings in the string, using sep as the separator string. rstrip([chars]) Return a copy of the string with trailing whitespace removed. split([sep, maxsplit]) Return a list of the substrings in the string, using sep as the separator string. splitlines([keepends]) Return a list of the lines in the string, breaking at line boundaries. startswith(prefix[, start[, end]]) Return True if S starts with the specified prefix, False otherwise. strip([chars]) Return a copy of the string with leading and trailing whitespace removed. swapcase() Convert uppercase characters to lowercase and lowercase characters to uppercase. title() Return a version of the string where each word is titlecased. translate(table, /) Replace each character in the string using the given translation table. upper() Return a copy of the string converted to uppercase. zfill(width, /) Pad a numeric string with zeros on the left, to fill a field of the given width. Attributes THREADS MESSAGES capitalize()¶ Return a capitalized version of the string. More specifically, make the first character have upper case and the rest lower case. casefold()¶ Return a version of the string suitable for caseless comparisons. center(width, fillchar=' ', /)¶ Return a centered string of length width. Padding is done using the specified fill character (default is a space). count(sub[, start[, end]]) → int¶ Return the number of non-overlapping occurrences of substring sub in
[ 81, 4345, 16830, 38372, 4194, 7712, 1799, 2608, 5715, 264, 1314, 12, 4345, 1908, 925, 315, 3160, 2430, 627, 81, 42098, 10698, 79, 11, 4194, 54660, 51078, 279, 925, 1139, 2380, 5596, 1701, 279, 2728, 25829, 627, 5544, 2344, 2625, 29136, 11, 4194, 2880, 7105, 2608, 5715, 264, 1160, 315, 279, 16146, 826, 304, 279, 925, 11, 1701, 21693, 439, 279, 25829, 925, 627, 71498, 2625, 19811, 2608, 5715, 264, 3048, 315, 279, 925, 449, 28848, 37472, 7108, 627, 7105, 2625, 29136, 11, 4194, 2880, 7105, 2608, 5715, 264, 1160, 315, 279, 16146, 826, 304, 279, 925, 11, 1701, 21693, 439, 279, 25829, 925, 627, 7105, 8128, 2625, 13397, 1438, 2608, 5715, 264, 1160, 315, 279, 5238, 304, 279, 925, 11, 15061, 520, 1584, 23546, 627, 70425, 30018, 38372, 4194, 2527, 38372, 4194, 408, 27829, 5715, 3082, 422, 328, 8638, 449, 279, 5300, 9436, 11, 3641, 6062, 627, 13406, 2625, 19811, 2608, 5715, 264, 3048, 315, 279, 925, 449, 6522, 323, 28848, 37472, 7108, 627, 26825, 5756, 746, 12281, 40582, 5885, 311, 43147, 323, 43147, 5885, 311, 40582, 627, 2150, 746, 5715, 264, 2373, 315, 279, 925, 1405, 1855, 3492, 374, 2316, 92226, 627, 14372, 16138, 11, 4194, 54660, 23979, 1855, 3752, 304, 279, 925, 1701, 279, 2728, 14807, 2007, 627, 13886, 746, 5715, 264, 3048, 315, 279, 925, 16489, 311, 40582, 627, 89, 7712, 16830, 11, 4194, 54660, 14047, 264, 25031, 925, 449, 17975, 389, 279, 2163, 11, 311, 5266, 264, 2115, 315, 279, 2728, 2430, 627, 10738, 198, 48619, 50, 198, 28202, 11488, 198, 82441, 368, 55609, 198, 5715, 264, 98421, 2373, 315, 279, 925, 627, 7816, 11951, 11, 1304, 279, 1176, 3752, 617, 8582, 1162, 323, 279, 2800, 4827, 198, 5756, 627, 5756, 20557, 368, 55609, 198, 5715, 264, 2373, 315, 279, 925, 14791, 369, 1162, 1752, 36595, 627, 3133, 16830, 11, 5266, 1799, 1151, 6752, 611, 8, 55609, 198, 5715, 264, 31288, 925, 315, 3160, 2430, 627, 22344, 374, 2884, 1701, 279, 5300, 5266, 3752, 320, 2309, 374, 264, 3634, 4390, 1868, 10849, 38372, 1212, 38372, 842, 30716, 11651, 528, 55609, 198, 5715, 279, 1396, 315, 2536, 29352, 91719, 57115, 315, 39549, 1207, 304 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.gmail.search.Resource.html
2f0884acdafd-3
Return the number of non-overlapping occurrences of substring sub in string S[start:end]. Optional arguments start and end are interpreted as in slice notation. encode(encoding='utf-8', errors='strict')¶ Encode the string using the codec registered for encoding. encodingThe encoding in which to encode the string. errorsThe error handling scheme to use for encoding errors. The default is ‘strict’ meaning that encoding errors raise a UnicodeEncodeError. Other possible values are ‘ignore’, ‘replace’ and ‘xmlcharrefreplace’ as well as any other name registered with codecs.register_error that can handle UnicodeEncodeErrors. endswith(suffix[, start[, end]]) → bool¶ Return True if S ends with the specified suffix, False otherwise. With optional start, test S beginning at that position. With optional end, stop comparing S at that position. suffix can also be a tuple of strings to try. expandtabs(tabsize=8)¶ Return a copy where all tab characters are expanded using spaces. If tabsize is not given, a tab size of 8 characters is assumed. find(sub[, start[, end]]) → int¶ Return the lowest index in S where substring sub is found, such that sub is contained within S[start:end]. Optional arguments start and end are interpreted as in slice notation. Return -1 on failure. format(*args, **kwargs) → str¶ Return a formatted version of S, using substitutions from args and kwargs. The substitutions are identified by braces (‘{’ and ‘}’). format_map(mapping) → str¶ Return a formatted version of S, using substitutions from mapping. The substitutions are identified by braces (‘{’ and ‘}’). index(sub[, start[, end]]) → int¶ Return the lowest index in S where substring sub is found,
[ 5715, 279, 1396, 315, 2536, 29352, 91719, 57115, 315, 39549, 1207, 304, 198, 928, 328, 29563, 26874, 948, 220, 12536, 6105, 1212, 323, 842, 527, 198, 94561, 439, 304, 16363, 45297, 627, 6311, 86963, 1151, 4867, 12, 23, 518, 6103, 1151, 6765, 873, 55609, 198, 33635, 279, 925, 1701, 279, 35747, 9879, 369, 11418, 627, 17600, 791, 11418, 304, 902, 311, 16559, 279, 925, 627, 7805, 791, 1493, 11850, 13155, 311, 1005, 369, 11418, 6103, 627, 791, 1670, 374, 3451, 6765, 529, 7438, 430, 11418, 6103, 4933, 264, 198, 35020, 33635, 1480, 13, 220, 7089, 3284, 2819, 527, 3451, 13431, 20182, 3451, 8319, 529, 323, 198, 14336, 6591, 1799, 1116, 8319, 529, 439, 1664, 439, 904, 1023, 836, 9879, 449, 198, 1889, 4942, 10131, 4188, 430, 649, 3790, 36997, 33635, 14199, 627, 1438, 4291, 97566, 38372, 1212, 38372, 842, 30716, 11651, 1845, 55609, 198, 5715, 3082, 422, 328, 10548, 449, 279, 5300, 21166, 11, 3641, 6062, 627, 2409, 10309, 1212, 11, 1296, 328, 7314, 520, 430, 2361, 627, 2409, 10309, 842, 11, 3009, 27393, 328, 520, 430, 2361, 627, 27884, 649, 1101, 387, 264, 14743, 315, 9246, 311, 1456, 627, 33417, 32093, 28945, 2190, 28, 23, 8, 55609, 198, 5715, 264, 3048, 1405, 682, 5769, 5885, 527, 17626, 1701, 12908, 627, 2746, 5769, 2190, 374, 539, 2728, 11, 264, 5769, 1404, 315, 220, 23, 5885, 374, 19655, 627, 3990, 10849, 38372, 1212, 38372, 842, 30716, 11651, 528, 55609, 198, 5715, 279, 15821, 1963, 304, 328, 1405, 39549, 1207, 374, 1766, 345, 21470, 430, 1207, 374, 13282, 2949, 328, 29563, 26874, 948, 220, 12536, 198, 16774, 1212, 323, 842, 527, 33398, 439, 304, 16363, 45297, 627, 5715, 482, 16, 389, 8060, 627, 2293, 4163, 2164, 11, 3146, 9872, 8, 11651, 610, 55609, 198, 5715, 264, 24001, 2373, 315, 328, 11, 1701, 94750, 505, 2897, 323, 16901, 627, 791, 94750, 527, 11054, 555, 60291, 320, 14336, 90, 529, 323, 3451, 92, 529, 4390, 2293, 5489, 82157, 8, 11651, 610, 55609, 198, 5715, 264, 24001, 2373, 315, 328, 11, 1701, 94750, 505, 13021, 627, 791, 94750, 527, 11054, 555, 60291, 320, 14336, 90, 529, 323, 3451, 92, 529, 4390, 1275, 10849, 38372, 1212, 38372, 842, 30716, 11651, 528, 55609, 198, 5715, 279, 15821, 1963, 304, 328, 1405, 39549, 1207, 374, 1766, 11 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.gmail.search.Resource.html
2f0884acdafd-4
Return the lowest index in S where substring sub is found, such that sub is contained within S[start:end]. Optional arguments start and end are interpreted as in slice notation. Raises ValueError when the substring is not found. isalnum()¶ Return True if the string is an alpha-numeric string, False otherwise. A string is alpha-numeric if all characters in the string are alpha-numeric and there is at least one character in the string. isalpha()¶ Return True if the string is an alphabetic string, False otherwise. A string is alphabetic if all characters in the string are alphabetic and there is at least one character in the string. isascii()¶ Return True if all characters in the string are ASCII, False otherwise. ASCII characters have code points in the range U+0000-U+007F. Empty string is ASCII too. isdecimal()¶ Return True if the string is a decimal string, False otherwise. A string is a decimal string if all characters in the string are decimal and there is at least one character in the string. isdigit()¶ Return True if the string is a digit string, False otherwise. A string is a digit string if all characters in the string are digits and there is at least one character in the string. isidentifier()¶ Return True if the string is a valid Python identifier, False otherwise. Call keyword.iskeyword(s) to test whether string s is a reserved identifier, such as “def” or “class”. islower()¶ Return True if the string is a lowercase string, False otherwise. A string is lowercase if all cased characters in the string are lowercase and there is at least one cased character in the string. isnumeric()¶ Return True if the string is a numeric string, False otherwise.
[ 5715, 279, 15821, 1963, 304, 328, 1405, 39549, 1207, 374, 1766, 345, 21470, 430, 1207, 374, 13282, 2949, 328, 29563, 26874, 948, 220, 12536, 198, 16774, 1212, 323, 842, 527, 33398, 439, 304, 16363, 45297, 627, 36120, 15764, 994, 279, 39549, 374, 539, 1766, 627, 285, 94462, 368, 55609, 198, 5715, 3082, 422, 279, 925, 374, 459, 8451, 12, 20173, 925, 11, 3641, 6062, 627, 32, 925, 374, 8451, 12, 20173, 422, 682, 5885, 304, 279, 925, 527, 8451, 12, 20173, 323, 198, 19041, 374, 520, 3325, 832, 3752, 304, 279, 925, 627, 285, 7288, 368, 55609, 198, 5715, 3082, 422, 279, 925, 374, 459, 65695, 45938, 925, 11, 3641, 6062, 627, 32, 925, 374, 65695, 45938, 422, 682, 5885, 304, 279, 925, 527, 65695, 45938, 323, 1070, 198, 285, 520, 3325, 832, 3752, 304, 279, 925, 627, 285, 24207, 368, 55609, 198, 5715, 3082, 422, 682, 5885, 304, 279, 925, 527, 40416, 11, 3641, 6062, 627, 57550, 5885, 617, 2082, 3585, 304, 279, 2134, 549, 10, 931, 15, 35681, 10, 11194, 37, 627, 3606, 925, 374, 40416, 2288, 627, 285, 24170, 368, 55609, 198, 5715, 3082, 422, 279, 925, 374, 264, 12395, 925, 11, 3641, 6062, 627, 32, 925, 374, 264, 12395, 925, 422, 682, 5885, 304, 279, 925, 527, 12395, 323, 198, 19041, 374, 520, 3325, 832, 3752, 304, 279, 925, 627, 70929, 368, 55609, 198, 5715, 3082, 422, 279, 925, 374, 264, 16099, 925, 11, 3641, 6062, 627, 32, 925, 374, 264, 16099, 925, 422, 682, 5885, 304, 279, 925, 527, 19016, 323, 1070, 198, 285, 520, 3325, 832, 3752, 304, 279, 925, 627, 285, 16288, 368, 55609, 198, 5715, 3082, 422, 279, 925, 374, 264, 2764, 13325, 13110, 11, 3641, 6062, 627, 7368, 16570, 2124, 20454, 1161, 8, 311, 1296, 3508, 925, 274, 374, 264, 4694, 13110, 345, 21470, 439, 1054, 755, 863, 477, 1054, 1058, 863, 627, 285, 15115, 368, 55609, 198, 5715, 3082, 422, 279, 925, 374, 264, 43147, 925, 11, 3641, 6062, 627, 32, 925, 374, 43147, 422, 682, 272, 1503, 5885, 304, 279, 925, 527, 43147, 323, 198, 19041, 374, 520, 3325, 832, 272, 1503, 3752, 304, 279, 925, 627, 285, 20173, 368, 55609, 198, 5715, 3082, 422, 279, 925, 374, 264, 25031, 925, 11, 3641, 6062, 13 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.gmail.search.Resource.html
2f0884acdafd-5
isnumeric()¶ Return True if the string is a numeric string, False otherwise. A string is numeric if all characters in the string are numeric and there is at least one character in the string. isprintable()¶ Return True if the string is printable, False otherwise. A string is printable if all of its characters are considered printable in repr() or if it is empty. isspace()¶ Return True if the string is a whitespace string, False otherwise. A string is whitespace if all characters in the string are whitespace and there is at least one character in the string. istitle()¶ Return True if the string is a title-cased string, False otherwise. In a title-cased string, upper- and title-case characters may only follow uncased characters and lowercase characters only cased ones. isupper()¶ Return True if the string is an uppercase string, False otherwise. A string is uppercase if all cased characters in the string are uppercase and there is at least one cased character in the string. join(iterable, /)¶ Concatenate any number of strings. The string whose method is called is inserted in between each given string. The result is returned as a new string. Example: ‘.’.join([‘ab’, ‘pq’, ‘rs’]) -> ‘ab.pq.rs’ ljust(width, fillchar=' ', /)¶ Return a left-justified string of length width. Padding is done using the specified fill character (default is a space). lower()¶ Return a copy of the string converted to lowercase. lstrip(chars=None, /)¶ Return a copy of the string with leading whitespace removed. If chars is given and not None, remove characters in chars instead. static maketrans()¶ Return a translation table usable for str.translate().
[ 285, 20173, 368, 55609, 198, 5715, 3082, 422, 279, 925, 374, 264, 25031, 925, 11, 3641, 6062, 627, 32, 925, 374, 25031, 422, 682, 5885, 304, 279, 925, 527, 25031, 323, 1070, 374, 520, 198, 56371, 832, 3752, 304, 279, 925, 627, 285, 1374, 481, 368, 55609, 198, 5715, 3082, 422, 279, 925, 374, 43095, 11, 3641, 6062, 627, 32, 925, 374, 43095, 422, 682, 315, 1202, 5885, 527, 6646, 43095, 304, 198, 31937, 368, 477, 422, 433, 374, 4384, 627, 82870, 368, 55609, 198, 5715, 3082, 422, 279, 925, 374, 264, 37472, 925, 11, 3641, 6062, 627, 32, 925, 374, 37472, 422, 682, 5885, 304, 279, 925, 527, 37472, 323, 1070, 198, 285, 520, 3325, 832, 3752, 304, 279, 925, 627, 380, 1017, 368, 55609, 198, 5715, 3082, 422, 279, 925, 374, 264, 2316, 1824, 1503, 925, 11, 3641, 6062, 627, 644, 264, 2316, 1824, 1503, 925, 11, 8582, 12, 323, 2316, 39585, 5885, 1253, 1193, 198, 19070, 21482, 1503, 5885, 323, 43147, 5885, 1193, 272, 1503, 6305, 627, 285, 13886, 368, 55609, 198, 5715, 3082, 422, 279, 925, 374, 459, 40582, 925, 11, 3641, 6062, 627, 32, 925, 374, 40582, 422, 682, 272, 1503, 5885, 304, 279, 925, 527, 40582, 323, 198, 19041, 374, 520, 3325, 832, 272, 1503, 3752, 304, 279, 925, 627, 6115, 28169, 481, 11, 611, 8, 55609, 198, 79540, 32223, 904, 1396, 315, 9246, 627, 791, 925, 6832, 1749, 374, 2663, 374, 22306, 304, 1990, 1855, 2728, 925, 627, 791, 1121, 374, 6052, 439, 264, 502, 925, 627, 13617, 25, 3451, 14639, 13, 6115, 2625, 14336, 370, 20182, 3451, 65116, 20182, 3451, 5544, 529, 2526, 1492, 3451, 370, 558, 80, 26721, 529, 198, 75, 4345, 16830, 11, 5266, 1799, 1151, 6752, 611, 8, 55609, 198, 5715, 264, 2163, 12, 4345, 1908, 925, 315, 3160, 2430, 627, 22344, 374, 2884, 1701, 279, 5300, 5266, 3752, 320, 2309, 374, 264, 3634, 4390, 15115, 368, 55609, 198, 5715, 264, 3048, 315, 279, 925, 16489, 311, 43147, 627, 75, 13406, 77306, 5980, 11, 611, 8, 55609, 198, 5715, 264, 3048, 315, 279, 925, 449, 6522, 37472, 7108, 627, 2746, 23861, 374, 2728, 323, 539, 2290, 11, 4148, 5885, 304, 23861, 4619, 627, 2020, 52016, 17820, 598, 368, 55609, 198, 5715, 264, 14807, 2007, 41030, 369, 610, 26998, 1020 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.gmail.search.Resource.html
2f0884acdafd-6
static maketrans()¶ Return a translation table usable for str.translate(). If there is only one argument, it must be a dictionary mapping Unicode ordinals (integers) or characters to Unicode ordinals, strings or None. Character keys will be then converted to ordinals. If there are two arguments, they must be strings of equal length, and in the resulting dictionary, each character in x will be mapped to the character at the same position in y. If there is a third argument, it must be a string, whose characters will be mapped to None in the result. partition(sep, /)¶ Partition the string into three parts using the given separator. This will search for the separator in the string. If the separator is found, returns a 3-tuple containing the part before the separator, the separator itself, and the part after it. If the separator is not found, returns a 3-tuple containing the original string and two empty strings. removeprefix(prefix, /)¶ Return a str with the given prefix string removed if present. If the string starts with the prefix string, return string[len(prefix):]. Otherwise, return a copy of the original string. removesuffix(suffix, /)¶ Return a str with the given suffix string removed if present. If the string ends with the suffix string and that suffix is not empty, return string[:-len(suffix)]. Otherwise, return a copy of the original string. replace(old, new, count=- 1, /)¶ Return a copy with all occurrences of substring old replaced by new. countMaximum number of occurrences to replace. -1 (the default value) means replace all occurrences. If the optional argument count is given, only the first count occurrences are replaced. rfind(sub[, start[, end]]) → int¶
[ 2020, 52016, 17820, 598, 368, 55609, 198, 5715, 264, 14807, 2007, 41030, 369, 610, 26998, 26914, 2746, 1070, 374, 1193, 832, 5811, 11, 433, 2011, 387, 264, 11240, 13021, 36997, 198, 541, 24624, 320, 396, 68692, 8, 477, 5885, 311, 36997, 6141, 24624, 11, 9246, 477, 2290, 627, 12686, 7039, 690, 387, 1243, 16489, 311, 6141, 24624, 627, 2746, 1070, 527, 1403, 6105, 11, 814, 2011, 387, 9246, 315, 6273, 3160, 11, 323, 198, 258, 279, 13239, 11240, 11, 1855, 3752, 304, 865, 690, 387, 24784, 311, 279, 198, 19740, 520, 279, 1890, 2361, 304, 379, 13, 1442, 1070, 374, 264, 4948, 5811, 11, 433, 198, 25849, 387, 264, 925, 11, 6832, 5885, 690, 387, 24784, 311, 2290, 304, 279, 1121, 627, 42098, 10698, 79, 11, 611, 8, 55609, 198, 51078, 279, 925, 1139, 2380, 5596, 1701, 279, 2728, 25829, 627, 2028, 690, 2778, 369, 279, 25829, 304, 279, 925, 13, 220, 1442, 279, 25829, 374, 1766, 345, 4310, 264, 220, 18, 2442, 6189, 8649, 279, 961, 1603, 279, 25829, 11, 279, 25829, 198, 275, 726, 11, 323, 279, 961, 1306, 433, 627, 2746, 279, 25829, 374, 539, 1766, 11, 4780, 264, 220, 18, 2442, 6189, 8649, 279, 4113, 925, 198, 438, 1403, 4384, 9246, 627, 5514, 12113, 30018, 11, 611, 8, 55609, 198, 5715, 264, 610, 449, 279, 2728, 9436, 925, 7108, 422, 3118, 627, 2746, 279, 925, 8638, 449, 279, 9436, 925, 11, 471, 925, 25721, 30018, 1680, 27218, 81556, 11, 471, 264, 3048, 315, 279, 4113, 925, 627, 1864, 10296, 13866, 97566, 11, 611, 8, 55609, 198, 5715, 264, 610, 449, 279, 2728, 21166, 925, 7108, 422, 3118, 627, 2746, 279, 925, 10548, 449, 279, 21166, 925, 323, 430, 21166, 374, 539, 4384, 345, 693, 925, 27141, 2963, 97566, 27261, 18715, 11, 471, 264, 3048, 315, 279, 4113, 198, 928, 627, 8319, 22739, 11, 502, 11, 1797, 11065, 220, 16, 11, 611, 8, 55609, 198, 5715, 264, 3048, 449, 682, 57115, 315, 39549, 2362, 12860, 555, 502, 627, 1868, 28409, 1396, 315, 57115, 311, 8454, 627, 12, 16, 320, 1820, 1670, 907, 8, 3445, 8454, 682, 57115, 627, 2746, 279, 10309, 5811, 1797, 374, 2728, 11, 1193, 279, 1176, 1797, 57115, 527, 198, 265, 37469, 627, 81, 3990, 10849, 38372, 1212, 38372, 842, 30716, 11651, 528, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.gmail.search.Resource.html
2f0884acdafd-7
replaced. rfind(sub[, start[, end]]) → int¶ Return the highest index in S where substring sub is found, such that sub is contained within S[start:end]. Optional arguments start and end are interpreted as in slice notation. Return -1 on failure. rindex(sub[, start[, end]]) → int¶ Return the highest index in S where substring sub is found, such that sub is contained within S[start:end]. Optional arguments start and end are interpreted as in slice notation. Raises ValueError when the substring is not found. rjust(width, fillchar=' ', /)¶ Return a right-justified string of length width. Padding is done using the specified fill character (default is a space). rpartition(sep, /)¶ Partition the string into three parts using the given separator. This will search for the separator in the string, starting at the end. If the separator is found, returns a 3-tuple containing the part before the separator, the separator itself, and the part after it. If the separator is not found, returns a 3-tuple containing two empty strings and the original string. rsplit(sep=None, maxsplit=- 1)¶ Return a list of the substrings in the string, using sep as the separator string. sepThe separator used to split the string. When set to None (the default value), will split on any whitespace character (including \n \r \t \f and spaces) and will discard empty strings from the result. maxsplitMaximum number of splits (starting from the left). -1 (the default value) means no limit. Splitting starts at the end of the string and works to the front. rstrip(chars=None, /)¶ Return a copy of the string with trailing whitespace removed.
[ 265, 37469, 627, 81, 3990, 10849, 38372, 1212, 38372, 842, 30716, 11651, 528, 55609, 198, 5715, 279, 8592, 1963, 304, 328, 1405, 39549, 1207, 374, 1766, 345, 21470, 430, 1207, 374, 13282, 2949, 328, 29563, 26874, 948, 220, 12536, 198, 16774, 1212, 323, 842, 527, 33398, 439, 304, 16363, 45297, 627, 5715, 482, 16, 389, 8060, 627, 81, 1275, 10849, 38372, 1212, 38372, 842, 30716, 11651, 528, 55609, 198, 5715, 279, 8592, 1963, 304, 328, 1405, 39549, 1207, 374, 1766, 345, 21470, 430, 1207, 374, 13282, 2949, 328, 29563, 26874, 948, 220, 12536, 198, 16774, 1212, 323, 842, 527, 33398, 439, 304, 16363, 45297, 627, 36120, 15764, 994, 279, 39549, 374, 539, 1766, 627, 81, 4345, 16830, 11, 5266, 1799, 1151, 6752, 611, 8, 55609, 198, 5715, 264, 1314, 12, 4345, 1908, 925, 315, 3160, 2430, 627, 22344, 374, 2884, 1701, 279, 5300, 5266, 3752, 320, 2309, 374, 264, 3634, 4390, 81, 42098, 10698, 79, 11, 611, 8, 55609, 198, 51078, 279, 925, 1139, 2380, 5596, 1701, 279, 2728, 25829, 627, 2028, 690, 2778, 369, 279, 25829, 304, 279, 925, 11, 6041, 520, 279, 842, 13, 1442, 198, 1820, 25829, 374, 1766, 11, 4780, 264, 220, 18, 2442, 6189, 8649, 279, 961, 1603, 279, 198, 41220, 11, 279, 25829, 5196, 11, 323, 279, 961, 1306, 433, 627, 2746, 279, 25829, 374, 539, 1766, 11, 4780, 264, 220, 18, 2442, 6189, 8649, 1403, 4384, 9246, 198, 438, 279, 4113, 925, 627, 5544, 2344, 10698, 79, 5980, 11, 1973, 7105, 11065, 220, 16, 8, 55609, 198, 5715, 264, 1160, 315, 279, 16146, 826, 304, 279, 925, 11, 1701, 21693, 439, 279, 25829, 925, 627, 29136, 791, 25829, 1511, 311, 6859, 279, 925, 627, 4599, 743, 311, 2290, 320, 1820, 1670, 907, 705, 690, 6859, 389, 904, 37472, 198, 19740, 320, 16564, 1144, 77, 1144, 81, 1144, 83, 1144, 69, 323, 12908, 8, 323, 690, 38967, 198, 3274, 9246, 505, 279, 1121, 627, 2880, 7105, 28409, 1396, 315, 41567, 320, 40389, 505, 279, 2163, 4390, 12, 16, 320, 1820, 1670, 907, 8, 3445, 912, 4017, 627, 20805, 1303, 8638, 520, 279, 842, 315, 279, 925, 323, 4375, 311, 279, 4156, 627, 71498, 77306, 5980, 11, 611, 8, 55609, 198, 5715, 264, 3048, 315, 279, 925, 449, 28848, 37472, 7108, 13 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.gmail.search.Resource.html
2f0884acdafd-8
rstrip(chars=None, /)¶ Return a copy of the string with trailing whitespace removed. If chars is given and not None, remove characters in chars instead. split(sep=None, maxsplit=- 1)¶ Return a list of the substrings in the string, using sep as the separator string. sepThe separator used to split the string. When set to None (the default value), will split on any whitespace character (including \n \r \t \f and spaces) and will discard empty strings from the result. maxsplitMaximum number of splits (starting from the left). -1 (the default value) means no limit. Note, str.split() is mainly useful for data that has been intentionally delimited. With natural text that includes punctuation, consider using the regular expression module. splitlines(keepends=False)¶ Return a list of the lines in the string, breaking at line boundaries. Line breaks are not included in the resulting list unless keepends is given and true. startswith(prefix[, start[, end]]) → bool¶ Return True if S starts with the specified prefix, False otherwise. With optional start, test S beginning at that position. With optional end, stop comparing S at that position. prefix can also be a tuple of strings to try. strip(chars=None, /)¶ Return a copy of the string with leading and trailing whitespace removed. If chars is given and not None, remove characters in chars instead. swapcase()¶ Convert uppercase characters to lowercase and lowercase characters to uppercase. title()¶ Return a version of the string where each word is titlecased. More specifically, words start with uppercased characters and all remaining cased characters have lower case. translate(table, /)¶ Replace each character in the string using the given translation table.
[ 71498, 77306, 5980, 11, 611, 8, 55609, 198, 5715, 264, 3048, 315, 279, 925, 449, 28848, 37472, 7108, 627, 2746, 23861, 374, 2728, 323, 539, 2290, 11, 4148, 5885, 304, 23861, 4619, 627, 7105, 10698, 79, 5980, 11, 1973, 7105, 11065, 220, 16, 8, 55609, 198, 5715, 264, 1160, 315, 279, 16146, 826, 304, 279, 925, 11, 1701, 21693, 439, 279, 25829, 925, 627, 29136, 791, 25829, 1511, 311, 6859, 279, 925, 627, 4599, 743, 311, 2290, 320, 1820, 1670, 907, 705, 690, 6859, 389, 904, 37472, 198, 19740, 320, 16564, 1144, 77, 1144, 81, 1144, 83, 1144, 69, 323, 12908, 8, 323, 690, 38967, 198, 3274, 9246, 505, 279, 1121, 627, 2880, 7105, 28409, 1396, 315, 41567, 320, 40389, 505, 279, 2163, 4390, 12, 16, 320, 1820, 1670, 907, 8, 3445, 912, 4017, 627, 9290, 11, 610, 5402, 368, 374, 14918, 5505, 369, 828, 430, 706, 1027, 37304, 198, 9783, 32611, 13, 220, 3161, 5933, 1495, 430, 5764, 62603, 11, 2980, 1701, 198, 1820, 5912, 7645, 4793, 627, 7105, 8128, 7, 13397, 1438, 5725, 8, 55609, 198, 5715, 264, 1160, 315, 279, 5238, 304, 279, 925, 11, 15061, 520, 1584, 23546, 627, 2519, 18808, 527, 539, 5343, 304, 279, 13239, 1160, 7389, 2567, 1438, 374, 2728, 323, 198, 1904, 627, 70425, 30018, 38372, 1212, 38372, 842, 30716, 11651, 1845, 55609, 198, 5715, 3082, 422, 328, 8638, 449, 279, 5300, 9436, 11, 3641, 6062, 627, 2409, 10309, 1212, 11, 1296, 328, 7314, 520, 430, 2361, 627, 2409, 10309, 842, 11, 3009, 27393, 328, 520, 430, 2361, 627, 12113, 649, 1101, 387, 264, 14743, 315, 9246, 311, 1456, 627, 13406, 77306, 5980, 11, 611, 8, 55609, 198, 5715, 264, 3048, 315, 279, 925, 449, 6522, 323, 28848, 37472, 7108, 627, 2746, 23861, 374, 2728, 323, 539, 2290, 11, 4148, 5885, 304, 23861, 4619, 627, 26825, 5756, 368, 55609, 198, 12281, 40582, 5885, 311, 43147, 323, 43147, 5885, 311, 40582, 627, 2150, 368, 55609, 198, 5715, 264, 2373, 315, 279, 925, 1405, 1855, 3492, 374, 2316, 92226, 627, 7816, 11951, 11, 4339, 1212, 449, 8582, 92226, 5885, 323, 682, 9861, 198, 92226, 5885, 617, 4827, 1162, 627, 14372, 16138, 11, 611, 8, 55609, 198, 23979, 1855, 3752, 304, 279, 925, 1701, 279, 2728, 14807, 2007, 13 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.gmail.search.Resource.html
2f0884acdafd-9
translate(table, /)¶ Replace each character in the string using the given translation table. tableTranslation table, which must be a mapping of Unicode ordinals to Unicode ordinals, strings, or None. The table must implement lookup/indexing via __getitem__, for instance a dictionary or list. If this operation raises LookupError, the character is left untouched. Characters mapped to None are deleted. upper()¶ Return a copy of the string converted to uppercase. zfill(width, /)¶ Pad a numeric string with zeros on the left, to fill a field of the given width. The string is never truncated. MESSAGES = 'messages'¶ THREADS = 'threads'¶
[ 14372, 16138, 11, 611, 8, 55609, 198, 23979, 1855, 3752, 304, 279, 925, 1701, 279, 2728, 14807, 2007, 627, 2048, 25416, 2007, 11, 902, 2011, 387, 264, 13021, 315, 36997, 6141, 24624, 311, 198, 35020, 6141, 24624, 11, 9246, 11, 477, 2290, 627, 791, 2007, 2011, 4305, 19128, 9199, 287, 4669, 1328, 61012, 10662, 369, 2937, 264, 198, 36771, 477, 1160, 13, 220, 1442, 420, 5784, 25930, 51411, 1480, 11, 279, 3752, 374, 198, 2414, 68622, 13, 220, 45616, 24784, 311, 2290, 527, 11309, 627, 13886, 368, 55609, 198, 5715, 264, 3048, 315, 279, 925, 16489, 311, 40582, 627, 89, 7712, 16830, 11, 611, 8, 55609, 198, 14047, 264, 25031, 925, 449, 17975, 389, 279, 2163, 11, 311, 5266, 264, 2115, 315, 279, 2728, 2430, 627, 791, 925, 374, 2646, 60856, 627, 28202, 11488, 284, 364, 16727, 6, 55609, 198, 48619, 50, 284, 364, 28386, 6, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.gmail.search.Resource.html
2bb29464dff5-0
langchain.tools.ddg_search.tool.DuckDuckGoSearchTool¶ langchain.tools.ddg_search.tool.DuckDuckGoSearchTool(*args: Any, **kwargs: Any) → DuckDuckGoSearchRun[source]¶ Deprecated. Use DuckDuckGoSearchRun instead. Parameters *args – **kwargs – Returns DuckDuckGoSearchRun
[ 5317, 8995, 24029, 57742, 70, 10947, 21966, 920, 1983, 35, 1983, 11087, 6014, 7896, 55609, 198, 5317, 8995, 24029, 57742, 70, 10947, 21966, 920, 1983, 35, 1983, 11087, 6014, 7896, 4163, 2164, 25, 5884, 11, 3146, 9872, 25, 5884, 8, 11651, 46870, 35, 1983, 11087, 6014, 6869, 76747, 60, 55609, 198, 52444, 13, 5560, 46870, 35, 1983, 11087, 6014, 6869, 4619, 627, 9905, 198, 9, 2164, 1389, 720, 334, 9872, 1389, 720, 16851, 198, 35, 1983, 35, 1983, 11087, 6014, 6869 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.ddg_search.tool.DuckDuckGoSearchTool.html
e3479a4d12cb-0
langchain.tools.office365.events_search.SearchEventsInput¶ class langchain.tools.office365.events_search.SearchEventsInput(*, start_datetime: str, end_datetime: str, max_results: int = 10, truncate: bool = True)[source]¶ Bases: BaseModel Input for SearchEmails Tool. Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param end_datetime: str [Required]¶ The end datetime for the search query in the following format: YYYY-MM-DDTHH:MM:SS±hh:mm, where “T” separates the date and time components, and the time zone offset is specified as ±hh:mm. For example: “2023-06-09T10:30:00+03:00” represents June 9th, 2023, at 10:30 AM in a time zone with a positive offset of 3 hours from Coordinated Universal Time (UTC). param max_results: int = 10¶ The maximum number of results to return. param start_datetime: str [Required]¶ The start datetime for the search query in the following format: YYYY-MM-DDTHH:MM:SS±hh:mm, where “T” separates the date and time components, and the time zone offset is specified as ±hh:mm. For example: “2023-06-09T10:30:00+03:00” represents June 9th, 2023, at 10:30 AM in a time zone with a positive offset of 3 hours from Coordinated Universal Time (UTC). param truncate: bool = True¶
[ 5317, 8995, 24029, 100193, 12676, 18626, 10947, 33003, 8059, 2566, 55609, 198, 1058, 8859, 8995, 24029, 100193, 12676, 18626, 10947, 33003, 8059, 2566, 4163, 11, 1212, 30043, 25, 610, 11, 842, 30043, 25, 610, 11, 1973, 13888, 25, 528, 284, 220, 605, 11, 57872, 25, 1845, 284, 3082, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 65705, 198, 2566, 369, 7694, 4886, 82, 13782, 627, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 842, 30043, 25, 610, 510, 8327, 60, 55609, 198, 791, 842, 9050, 369, 279, 2778, 3319, 304, 279, 2768, 3645, 25, 220, 61691, 19013, 41275, 3701, 39, 25, 8195, 25, 1242, 38121, 20990, 20737, 11, 1405, 1054, 51, 863, 62849, 279, 2457, 323, 892, 220, 6956, 11, 323, 279, 892, 10353, 4445, 374, 5300, 439, 20903, 20990, 20737, 13, 220, 1789, 3187, 25, 1054, 2366, 18, 12, 2705, 12, 2545, 51, 605, 25, 966, 25, 410, 10, 2839, 25, 410, 863, 11105, 5651, 220, 24, 339, 11, 220, 220, 2366, 18, 11, 520, 220, 605, 25, 966, 6912, 304, 264, 892, 10353, 449, 264, 6928, 4445, 315, 220, 18, 220, 4207, 505, 3623, 83569, 26581, 4212, 320, 21872, 4390, 913, 1973, 13888, 25, 528, 284, 220, 605, 55609, 198, 791, 7340, 1396, 315, 3135, 311, 471, 627, 913, 1212, 30043, 25, 610, 510, 8327, 60, 55609, 198, 791, 1212, 9050, 369, 279, 2778, 3319, 304, 279, 2768, 3645, 25, 220, 61691, 19013, 41275, 3701, 39, 25, 8195, 25, 1242, 38121, 20990, 20737, 11, 1405, 1054, 51, 863, 62849, 279, 2457, 323, 892, 220, 6956, 11, 323, 279, 892, 10353, 4445, 374, 5300, 439, 20903, 20990, 20737, 13, 220, 1789, 3187, 25, 1054, 2366, 18, 12, 2705, 12, 2545, 51, 605, 25, 966, 25, 410, 10, 2839, 25, 410, 863, 11105, 5651, 220, 24, 339, 11, 220, 220, 2366, 18, 11, 520, 220, 605, 25, 966, 6912, 304, 264, 892, 10353, 449, 264, 6928, 4445, 315, 220, 18, 220, 4207, 505, 3623, 83569, 26581, 4212, 320, 21872, 4390, 913, 57872, 25, 1845, 284, 3082, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.office365.events_search.SearchEventsInput.html
e3479a4d12cb-1
param truncate: bool = True¶ Whether the event’s body is trucated to meet token number limits. Set to False for searches that will retrieve very few results, otherwise, set to True.
[ 913, 57872, 25, 1845, 284, 3082, 55609, 198, 25729, 279, 1567, 753, 2547, 374, 490, 1791, 660, 311, 3449, 4037, 1396, 13693, 13, 2638, 311, 3641, 369, 27573, 430, 690, 17622, 1633, 2478, 3135, 11, 6062, 11, 743, 311, 3082, 13 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.office365.events_search.SearchEventsInput.html
3d7255ef8192-0
langchain.tools.gmail.utils.import_googleapiclient_resource_builder¶ langchain.tools.gmail.utils.import_googleapiclient_resource_builder() → build_resource[source]¶ Import googleapiclient.discovery.build function. Returns googleapiclient.discovery.build function. Return type build_resource
[ 5317, 8995, 24029, 73054, 8576, 35997, 48255, 391, 292, 1477, 18446, 29632, 55609, 198, 5317, 8995, 24029, 73054, 8576, 35997, 48255, 391, 292, 1477, 18446, 29632, 368, 11651, 1977, 18446, 76747, 60, 55609, 198, 11772, 11819, 391, 292, 1477, 7929, 7601, 13542, 734, 627, 16851, 198, 17943, 391, 292, 1477, 7929, 7601, 13542, 734, 627, 5715, 955, 198, 5957, 18446 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.gmail.utils.import_googleapiclient_resource_builder.html
a3443a83d53c-0
langchain.tools.file_management.delete.FileDeleteInput¶ class langchain.tools.file_management.delete.FileDeleteInput(*, file_path: str)[source]¶ Bases: BaseModel Input for DeleteFileTool. Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param file_path: str [Required]¶ Path of the file to delete
[ 5317, 8995, 24029, 9914, 46463, 7592, 8744, 6571, 2566, 55609, 198, 1058, 8859, 8995, 24029, 9914, 46463, 7592, 8744, 6571, 2566, 4163, 11, 1052, 2703, 25, 610, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 65705, 198, 2566, 369, 10645, 1738, 7896, 627, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 1052, 2703, 25, 610, 510, 8327, 60, 55609, 198, 1858, 315, 279, 1052, 311, 3783 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.file_management.delete.FileDeleteInput.html
024fd9f68c76-0
langchain.tools.sleep.tool.SleepInput¶ class langchain.tools.sleep.tool.SleepInput(*, sleep_time: int)[source]¶ Bases: BaseModel Input for CopyFileTool. Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param sleep_time: int [Required]¶ Time to sleep in seconds
[ 5317, 8995, 24029, 11365, 21966, 32686, 2566, 55609, 198, 1058, 8859, 8995, 24029, 11365, 21966, 32686, 2566, 4163, 11, 6212, 3084, 25, 528, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 65705, 198, 2566, 369, 14882, 1738, 7896, 627, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 6212, 3084, 25, 528, 510, 8327, 60, 55609, 198, 1489, 311, 6212, 304, 6622 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.sleep.tool.SleepInput.html
eb2d0cab7993-0
langchain.tools.gmail.utils.clean_email_body¶ langchain.tools.gmail.utils.clean_email_body(body: str) → str[source]¶ Clean email body.
[ 5317, 8995, 24029, 73054, 8576, 26303, 9351, 14446, 55609, 198, 5317, 8995, 24029, 73054, 8576, 26303, 9351, 14446, 15582, 25, 610, 8, 11651, 610, 76747, 60, 55609, 198, 28629, 2613, 2547, 13 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.gmail.utils.clean_email_body.html
581ccc818e11-0
langchain.tools.wolfram_alpha.tool.WolframAlphaQueryRun¶ class langchain.tools.wolfram_alpha.tool.WolframAlphaQueryRun(*, name: str = 'wolfram_alpha', description: str = 'A wrapper around Wolfram Alpha. Useful for when you need to answer questions about Math, Science, Technology, Culture, Society and Everyday Life. Input should be a search query.', args_schema: Optional[Type[BaseModel]] = None, return_direct: bool = False, verbose: bool = False, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, callback_manager: Optional[BaseCallbackManager] = None, handle_tool_error: Optional[Union[bool, str, Callable[[ToolException], str]]] = False, api_wrapper: WolframAlphaAPIWrapper)[source]¶ Bases: BaseTool Tool that adds the capability to query using the Wolfram Alpha SDK. Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param api_wrapper: langchain.utilities.wolfram_alpha.WolframAlphaAPIWrapper [Required]¶ param args_schema: Optional[Type[BaseModel]] = None¶ Pydantic model class to validate and parse the tool’s input arguments. param callback_manager: Optional[BaseCallbackManager] = None¶ Deprecated. Please use callbacks instead. param callbacks: Callbacks = None¶ Callbacks to be called during tool execution. param description: str = 'A wrapper around Wolfram Alpha. Useful for when you need to answer questions about Math, Science, Technology, Culture, Society and Everyday Life. Input should be a search query.'¶ Used to tell the model how/when/why to use the tool. You can provide few-shot examples as a part of the description.
[ 5317, 8995, 24029, 1444, 337, 92604, 27731, 21966, 1196, 337, 92604, 19947, 2929, 6869, 55609, 198, 1058, 8859, 8995, 24029, 1444, 337, 92604, 27731, 21966, 1196, 337, 92604, 19947, 2929, 6869, 4163, 11, 836, 25, 610, 284, 364, 86, 337, 92604, 27731, 518, 4096, 25, 610, 284, 364, 32, 13564, 2212, 30643, 92604, 25737, 13, 51612, 369, 994, 499, 1205, 311, 4320, 4860, 922, 4242, 11, 10170, 11, 12053, 11, 21023, 11, 13581, 323, 79716, 9601, 13, 5688, 1288, 387, 264, 2778, 3319, 16045, 2897, 26443, 25, 12536, 58, 941, 58, 4066, 1747, 5163, 284, 2290, 11, 471, 33971, 25, 1845, 284, 3641, 11, 14008, 25, 1845, 284, 3641, 11, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 4927, 12418, 25, 12536, 58, 4066, 7646, 2087, 60, 284, 2290, 11, 3790, 23627, 4188, 25, 12536, 58, 33758, 58, 2707, 11, 610, 11, 54223, 15873, 7896, 1378, 1145, 610, 5163, 60, 284, 3641, 11, 6464, 24474, 25, 30643, 92604, 19947, 7227, 11803, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 7896, 198, 7896, 430, 11621, 279, 23099, 311, 3319, 1701, 279, 30643, 92604, 25737, 27721, 627, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 6464, 24474, 25, 8859, 8995, 63795, 1444, 337, 92604, 27731, 1196, 337, 92604, 19947, 7227, 11803, 510, 8327, 60, 55609, 198, 913, 2897, 26443, 25, 12536, 58, 941, 58, 4066, 1747, 5163, 284, 2290, 55609, 198, 14149, 67, 8322, 1646, 538, 311, 9788, 323, 4820, 279, 5507, 753, 1988, 6105, 627, 913, 4927, 12418, 25, 12536, 58, 4066, 7646, 2087, 60, 284, 2290, 55609, 198, 52444, 13, 5321, 1005, 27777, 4619, 627, 913, 27777, 25, 23499, 82, 284, 2290, 55609, 198, 45561, 311, 387, 2663, 2391, 5507, 11572, 627, 913, 4096, 25, 610, 284, 364, 32, 13564, 2212, 30643, 92604, 25737, 13, 51612, 369, 994, 499, 1205, 311, 4320, 4860, 922, 4242, 11, 10170, 11, 12053, 11, 21023, 11, 13581, 323, 79716, 9601, 13, 5688, 1288, 387, 264, 2778, 3319, 3238, 55609, 198, 23580, 311, 3371, 279, 1646, 1268, 14, 9493, 14, 35734, 311, 1005, 279, 5507, 627, 2675, 649, 3493, 2478, 64630, 10507, 439, 264, 961, 315, 279, 4096, 13 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.wolfram_alpha.tool.WolframAlphaQueryRun.html
581ccc818e11-1
You can provide few-shot examples as a part of the description. param handle_tool_error: Optional[Union[bool, str, Callable[[ToolException], str]]] = False¶ Handle the content of the ToolException thrown. param name: str = 'wolfram_alpha'¶ The unique name of the tool that clearly communicates its purpose. param return_direct: bool = False¶ Whether to return the tool’s output directly. Setting this to True means that after the tool is called, the AgentExecutor will stop looping. param verbose: bool = False¶ Whether to log the tool’s progress. __call__(tool_input: str, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None) → str¶ Make tool callable. async arun(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool asynchronously. validator raise_deprecation  »  all fields¶ Raise deprecation warning if callback_manager is used. run(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool. property args: dict¶ property is_single_input: bool¶ Whether the tool only accepts a single input. model Config¶ Bases: object Configuration for this pydantic object. arbitrary_types_allowed = True¶ extra = 'forbid'¶
[ 2675, 649, 3493, 2478, 64630, 10507, 439, 264, 961, 315, 279, 4096, 627, 913, 3790, 23627, 4188, 25, 12536, 58, 33758, 58, 2707, 11, 610, 11, 54223, 15873, 7896, 1378, 1145, 610, 5163, 60, 284, 3641, 55609, 198, 7144, 279, 2262, 315, 279, 13782, 1378, 15338, 627, 913, 836, 25, 610, 284, 364, 86, 337, 92604, 27731, 6, 55609, 198, 791, 5016, 836, 315, 279, 5507, 430, 9539, 92606, 1202, 7580, 627, 913, 471, 33971, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 471, 279, 5507, 753, 2612, 6089, 13, 20638, 420, 311, 3082, 3445, 198, 9210, 1306, 279, 5507, 374, 2663, 11, 279, 21372, 26321, 690, 3009, 63687, 627, 913, 14008, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 1515, 279, 5507, 753, 5208, 627, 565, 6797, 3889, 14506, 6022, 25, 610, 11, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 8, 11651, 610, 55609, 198, 8238, 5507, 42022, 627, 7847, 802, 359, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 68881, 627, 16503, 4933, 2310, 70693, 4194, 8345, 4194, 682, 5151, 55609, 198, 94201, 409, 70693, 10163, 422, 4927, 12418, 374, 1511, 627, 6236, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 627, 3784, 2897, 25, 6587, 55609, 198, 3784, 374, 20052, 6022, 25, 1845, 55609, 198, 25729, 279, 5507, 1193, 27441, 264, 3254, 1988, 627, 2590, 5649, 55609, 198, 33, 2315, 25, 1665, 198, 7843, 369, 420, 4611, 67, 8322, 1665, 627, 277, 88951, 9962, 43255, 284, 3082, 55609, 198, 15824, 284, 364, 2000, 21301, 6, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.wolfram_alpha.tool.WolframAlphaQueryRun.html
c4a03399d52a-0
langchain.tools.office365.utils.clean_body¶ langchain.tools.office365.utils.clean_body(body: str) → str[source]¶ Clean body of a message or event.
[ 5317, 8995, 24029, 100193, 12676, 8576, 26303, 14446, 55609, 198, 5317, 8995, 24029, 100193, 12676, 8576, 26303, 14446, 15582, 25, 610, 8, 11651, 610, 76747, 60, 55609, 198, 28629, 2547, 315, 264, 1984, 477, 1567, 13 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.office365.utils.clean_body.html
1e2b619e9a97-0
langchain.tools.playwright.utils.run_async¶ langchain.tools.playwright.utils.run_async(coro: Coroutine[Any, Any, T]) → T[source]¶ Parameters coro – The coroutine to run. Coroutine[Any, Any, T] Returns The result of the coroutine. Return type T
[ 5317, 8995, 24029, 13269, 53852, 8576, 7789, 29446, 55609, 198, 5317, 8995, 24029, 13269, 53852, 8576, 7789, 29446, 1361, 18812, 25, 88566, 71401, 11, 5884, 11, 350, 2526, 11651, 350, 76747, 60, 55609, 198, 9905, 198, 6133, 78, 1389, 578, 78899, 311, 1629, 13, 88566, 71401, 11, 5884, 11, 350, 933, 16851, 198, 791, 1121, 315, 279, 78899, 627, 5715, 955, 198, 51 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.playwright.utils.run_async.html
30ce849e9934-0
langchain.tools.gmail.send_message.SendMessageSchema¶ class langchain.tools.gmail.send_message.SendMessageSchema(*, message: str, to: Union[str, List[str]], subject: str, cc: Optional[Union[str, List[str]]] = None, bcc: Optional[Union[str, List[str]]] = None)[source]¶ Bases: BaseModel Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param bcc: Optional[Union[str, List[str]]] = None¶ The list of BCC recipients. param cc: Optional[Union[str, List[str]]] = None¶ The list of CC recipients. param message: str [Required]¶ The message to send. param subject: str [Required]¶ The subject of the message. param to: Union[str, List[str]] [Required]¶ The list of recipients.
[ 5317, 8995, 24029, 73054, 5331, 6598, 67430, 8802, 55609, 198, 1058, 8859, 8995, 24029, 73054, 5331, 6598, 67430, 8802, 4163, 11, 1984, 25, 610, 11, 311, 25, 9323, 17752, 11, 1796, 17752, 21128, 3917, 25, 610, 11, 12810, 25, 12536, 58, 33758, 17752, 11, 1796, 17752, 5163, 60, 284, 2290, 11, 293, 641, 25, 12536, 58, 33758, 17752, 11, 1796, 17752, 5163, 60, 284, 2290, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 65705, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 293, 641, 25, 12536, 58, 33758, 17752, 11, 1796, 17752, 5163, 60, 284, 2290, 55609, 198, 791, 1160, 315, 426, 3791, 34876, 627, 913, 12810, 25, 12536, 58, 33758, 17752, 11, 1796, 17752, 5163, 60, 284, 2290, 55609, 198, 791, 1160, 315, 13844, 34876, 627, 913, 1984, 25, 610, 510, 8327, 60, 55609, 198, 791, 1984, 311, 3708, 627, 913, 3917, 25, 610, 510, 8327, 60, 55609, 198, 791, 3917, 315, 279, 1984, 627, 913, 311, 25, 9323, 17752, 11, 1796, 17752, 5163, 510, 8327, 60, 55609, 198, 791, 1160, 315, 34876, 13 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.gmail.send_message.SendMessageSchema.html
51f63bfaf344-0
langchain.tools.file_management.write.WriteFileTool¶ class langchain.tools.file_management.write.WriteFileTool(*, name: str = 'write_file', description: str = 'Write file to disk', args_schema: ~typing.Type[~pydantic.main.BaseModel] = <class 'langchain.tools.file_management.write.WriteFileInput'>, return_direct: bool = False, verbose: bool = False, callbacks: ~typing.Optional[~typing.Union[~typing.List[~langchain.callbacks.base.BaseCallbackHandler], ~langchain.callbacks.base.BaseCallbackManager]] = None, callback_manager: ~typing.Optional[~langchain.callbacks.base.BaseCallbackManager] = None, handle_tool_error: ~typing.Optional[~typing.Union[bool, str, ~typing.Callable[[~langchain.tools.base.ToolException], str]]] = False, root_dir: ~typing.Optional[str] = None)[source]¶ Bases: BaseFileToolMixin, BaseTool Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param args_schema: Type[pydantic.main.BaseModel] = <class 'langchain.tools.file_management.write.WriteFileInput'>¶ Pydantic model class to validate and parse the tool’s input arguments. param callback_manager: Optional[BaseCallbackManager] = None¶ Deprecated. Please use callbacks instead. param callbacks: Callbacks = None¶ Callbacks to be called during tool execution. param description: str = 'Write file to disk'¶ Used to tell the model how/when/why to use the tool. You can provide few-shot examples as a part of the description. param handle_tool_error: Optional[Union[bool, str, Callable[[ToolException], str]]] = False¶ Handle the content of the ToolException thrown.
[ 5317, 8995, 24029, 9914, 46463, 3921, 4165, 1738, 7896, 55609, 198, 1058, 8859, 8995, 24029, 9914, 46463, 3921, 4165, 1738, 7896, 4163, 11, 836, 25, 610, 284, 364, 5040, 2517, 518, 4096, 25, 610, 284, 364, 8144, 1052, 311, 13668, 518, 2897, 26443, 25, 4056, 90902, 10394, 58, 93, 3368, 67, 8322, 9056, 13316, 1747, 60, 284, 366, 1058, 364, 5317, 8995, 24029, 9914, 46463, 3921, 4165, 1738, 2566, 6404, 11, 471, 33971, 25, 1845, 284, 3641, 11, 14008, 25, 1845, 284, 3641, 11, 27777, 25, 4056, 90902, 37464, 58, 93, 90902, 10840, 290, 58, 93, 90902, 5937, 58, 93, 5317, 8995, 72134, 9105, 13316, 7646, 3126, 1145, 4056, 5317, 8995, 72134, 9105, 13316, 7646, 2087, 5163, 284, 2290, 11, 4927, 12418, 25, 4056, 90902, 37464, 58, 93, 5317, 8995, 72134, 9105, 13316, 7646, 2087, 60, 284, 2290, 11, 3790, 23627, 4188, 25, 4056, 90902, 37464, 58, 93, 90902, 10840, 290, 58, 2707, 11, 610, 11, 4056, 90902, 28115, 481, 15873, 93, 5317, 8995, 24029, 9105, 25443, 1378, 1145, 610, 5163, 60, 284, 3641, 11, 3789, 4432, 25, 4056, 90902, 37464, 17752, 60, 284, 2290, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 1738, 7896, 39556, 11, 5464, 7896, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 2897, 26443, 25, 4078, 58, 3368, 67, 8322, 9056, 13316, 1747, 60, 284, 366, 1058, 364, 5317, 8995, 24029, 9914, 46463, 3921, 4165, 1738, 2566, 6404, 55609, 198, 14149, 67, 8322, 1646, 538, 311, 9788, 323, 4820, 279, 5507, 753, 1988, 6105, 627, 913, 4927, 12418, 25, 12536, 58, 4066, 7646, 2087, 60, 284, 2290, 55609, 198, 52444, 13, 5321, 1005, 27777, 4619, 627, 913, 27777, 25, 23499, 82, 284, 2290, 55609, 198, 45561, 311, 387, 2663, 2391, 5507, 11572, 627, 913, 4096, 25, 610, 284, 364, 8144, 1052, 311, 13668, 6, 55609, 198, 23580, 311, 3371, 279, 1646, 1268, 14, 9493, 14, 35734, 311, 1005, 279, 5507, 627, 2675, 649, 3493, 2478, 64630, 10507, 439, 264, 961, 315, 279, 4096, 627, 913, 3790, 23627, 4188, 25, 12536, 58, 33758, 58, 2707, 11, 610, 11, 54223, 15873, 7896, 1378, 1145, 610, 5163, 60, 284, 3641, 55609, 198, 7144, 279, 2262, 315, 279, 13782, 1378, 15338, 13 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.file_management.write.WriteFileTool.html
51f63bfaf344-1
Handle the content of the ToolException thrown. param name: str = 'write_file'¶ The unique name of the tool that clearly communicates its purpose. param return_direct: bool = False¶ Whether to return the tool’s output directly. Setting this to True means that after the tool is called, the AgentExecutor will stop looping. param root_dir: Optional[str] = None¶ The final path will be chosen relative to root_dir if specified. param verbose: bool = False¶ Whether to log the tool’s progress. __call__(tool_input: str, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None) → str¶ Make tool callable. async arun(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool asynchronously. get_relative_path(file_path: str) → Path¶ Get the relative path, returning an error if unsupported. validator raise_deprecation  »  all fields¶ Raise deprecation warning if callback_manager is used. run(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool. property args: dict¶ property is_single_input: bool¶ Whether the tool only accepts a single input. model Config¶ Bases: object Configuration for this pydantic object. arbitrary_types_allowed = True¶ extra = 'forbid'¶
[ 7144, 279, 2262, 315, 279, 13782, 1378, 15338, 627, 913, 836, 25, 610, 284, 364, 5040, 2517, 6, 55609, 198, 791, 5016, 836, 315, 279, 5507, 430, 9539, 92606, 1202, 7580, 627, 913, 471, 33971, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 471, 279, 5507, 753, 2612, 6089, 13, 20638, 420, 311, 3082, 3445, 198, 9210, 1306, 279, 5507, 374, 2663, 11, 279, 21372, 26321, 690, 3009, 63687, 627, 913, 3789, 4432, 25, 12536, 17752, 60, 284, 2290, 55609, 198, 791, 1620, 1853, 690, 387, 12146, 8844, 311, 3789, 4432, 422, 5300, 627, 913, 14008, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 1515, 279, 5507, 753, 5208, 627, 565, 6797, 3889, 14506, 6022, 25, 610, 11, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 8, 11651, 610, 55609, 198, 8238, 5507, 42022, 627, 7847, 802, 359, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 68881, 627, 456, 30386, 2703, 4971, 2703, 25, 610, 8, 11651, 8092, 55609, 198, 1991, 279, 8844, 1853, 11, 13758, 459, 1493, 422, 41509, 627, 16503, 4933, 2310, 70693, 4194, 8345, 4194, 682, 5151, 55609, 198, 94201, 409, 70693, 10163, 422, 4927, 12418, 374, 1511, 627, 6236, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 627, 3784, 2897, 25, 6587, 55609, 198, 3784, 374, 20052, 6022, 25, 1845, 55609, 198, 25729, 279, 5507, 1193, 27441, 264, 3254, 1988, 627, 2590, 5649, 55609, 198, 33, 2315, 25, 1665, 198, 7843, 369, 420, 4611, 67, 8322, 1665, 627, 277, 88951, 9962, 43255, 284, 3082, 55609, 198, 15824, 284, 364, 2000, 21301, 6, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.file_management.write.WriteFileTool.html
a854a8c844d5-0
langchain.tools.jira.tool.JiraAction¶ class langchain.tools.jira.tool.JiraAction(*, name: str = '', description: str = '', args_schema: Optional[Type[BaseModel]] = None, return_direct: bool = False, verbose: bool = False, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, callback_manager: Optional[BaseCallbackManager] = None, handle_tool_error: Optional[Union[bool, str, Callable[[ToolException], str]]] = False, api_wrapper: JiraAPIWrapper = None, mode: str)[source]¶ Bases: BaseTool Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param api_wrapper: langchain.utilities.jira.JiraAPIWrapper [Optional]¶ param args_schema: Optional[Type[BaseModel]] = None¶ Pydantic model class to validate and parse the tool’s input arguments. param callback_manager: Optional[BaseCallbackManager] = None¶ Deprecated. Please use callbacks instead. param callbacks: Callbacks = None¶ Callbacks to be called during tool execution. param description: str = ''¶ Used to tell the model how/when/why to use the tool. You can provide few-shot examples as a part of the description. param handle_tool_error: Optional[Union[bool, str, Callable[[ToolException], str]]] = False¶ Handle the content of the ToolException thrown. param mode: str [Required]¶ param name: str = ''¶ The unique name of the tool that clearly communicates its purpose. param return_direct: bool = False¶ Whether to return the tool’s output directly. Setting this to True means
[ 5317, 8995, 24029, 1190, 9008, 21966, 3587, 9008, 2573, 55609, 198, 1058, 8859, 8995, 24029, 1190, 9008, 21966, 3587, 9008, 2573, 4163, 11, 836, 25, 610, 284, 9158, 4096, 25, 610, 284, 9158, 2897, 26443, 25, 12536, 58, 941, 58, 4066, 1747, 5163, 284, 2290, 11, 471, 33971, 25, 1845, 284, 3641, 11, 14008, 25, 1845, 284, 3641, 11, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 4927, 12418, 25, 12536, 58, 4066, 7646, 2087, 60, 284, 2290, 11, 3790, 23627, 4188, 25, 12536, 58, 33758, 58, 2707, 11, 610, 11, 54223, 15873, 7896, 1378, 1145, 610, 5163, 60, 284, 3641, 11, 6464, 24474, 25, 622, 9008, 7227, 11803, 284, 2290, 11, 3941, 25, 610, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 7896, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 6464, 24474, 25, 8859, 8995, 63795, 1190, 9008, 3587, 9008, 7227, 11803, 510, 15669, 60, 55609, 198, 913, 2897, 26443, 25, 12536, 58, 941, 58, 4066, 1747, 5163, 284, 2290, 55609, 198, 14149, 67, 8322, 1646, 538, 311, 9788, 323, 4820, 279, 5507, 753, 1988, 6105, 627, 913, 4927, 12418, 25, 12536, 58, 4066, 7646, 2087, 60, 284, 2290, 55609, 198, 52444, 13, 5321, 1005, 27777, 4619, 627, 913, 27777, 25, 23499, 82, 284, 2290, 55609, 198, 45561, 311, 387, 2663, 2391, 5507, 11572, 627, 913, 4096, 25, 610, 284, 3436, 55609, 198, 23580, 311, 3371, 279, 1646, 1268, 14, 9493, 14, 35734, 311, 1005, 279, 5507, 627, 2675, 649, 3493, 2478, 64630, 10507, 439, 264, 961, 315, 279, 4096, 627, 913, 3790, 23627, 4188, 25, 12536, 58, 33758, 58, 2707, 11, 610, 11, 54223, 15873, 7896, 1378, 1145, 610, 5163, 60, 284, 3641, 55609, 198, 7144, 279, 2262, 315, 279, 13782, 1378, 15338, 627, 913, 3941, 25, 610, 510, 8327, 60, 55609, 198, 913, 836, 25, 610, 284, 3436, 55609, 198, 791, 5016, 836, 315, 279, 5507, 430, 9539, 92606, 1202, 7580, 627, 913, 471, 33971, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 471, 279, 5507, 753, 2612, 6089, 13, 20638, 420, 311, 3082, 3445 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.jira.tool.JiraAction.html
a854a8c844d5-1
Whether to return the tool’s output directly. Setting this to True means that after the tool is called, the AgentExecutor will stop looping. param verbose: bool = False¶ Whether to log the tool’s progress. __call__(tool_input: str, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None) → str¶ Make tool callable. async arun(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool asynchronously. validator raise_deprecation  »  all fields¶ Raise deprecation warning if callback_manager is used. run(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool. property args: dict¶ property is_single_input: bool¶ Whether the tool only accepts a single input. model Config¶ Bases: object Configuration for this pydantic object. arbitrary_types_allowed = True¶ extra = 'forbid'¶
[ 25729, 311, 471, 279, 5507, 753, 2612, 6089, 13, 20638, 420, 311, 3082, 3445, 198, 9210, 1306, 279, 5507, 374, 2663, 11, 279, 21372, 26321, 690, 3009, 63687, 627, 913, 14008, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 1515, 279, 5507, 753, 5208, 627, 565, 6797, 3889, 14506, 6022, 25, 610, 11, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 8, 11651, 610, 55609, 198, 8238, 5507, 42022, 627, 7847, 802, 359, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 68881, 627, 16503, 4933, 2310, 70693, 4194, 8345, 4194, 682, 5151, 55609, 198, 94201, 409, 70693, 10163, 422, 4927, 12418, 374, 1511, 627, 6236, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 627, 3784, 2897, 25, 6587, 55609, 198, 3784, 374, 20052, 6022, 25, 1845, 55609, 198, 25729, 279, 5507, 1193, 27441, 264, 3254, 1988, 627, 2590, 5649, 55609, 198, 33, 2315, 25, 1665, 198, 7843, 369, 420, 4611, 67, 8322, 1665, 627, 277, 88951, 9962, 43255, 284, 3082, 55609, 198, 15824, 284, 364, 2000, 21301, 6, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.jira.tool.JiraAction.html
9e5ccca02cfe-0
langchain.tools.base.create_schema_from_function¶ langchain.tools.base.create_schema_from_function(model_name: str, func: Callable) → Type[BaseModel][source]¶ Create a pydantic schema from a function’s signature. :param model_name: Name to assign to the generated pydandic schema :param func: Function to generate the schema from Returns A pydantic model with the same arguments as the function
[ 5317, 8995, 24029, 9105, 2581, 26443, 5791, 9353, 55609, 198, 5317, 8995, 24029, 9105, 2581, 26443, 5791, 9353, 7790, 1292, 25, 610, 11, 2988, 25, 54223, 8, 11651, 4078, 58, 4066, 1747, 1483, 2484, 60, 55609, 198, 4110, 264, 4611, 67, 8322, 11036, 505, 264, 734, 753, 12223, 627, 68416, 1646, 1292, 25, 4076, 311, 9993, 311, 279, 8066, 4611, 67, 438, 292, 11036, 198, 68416, 2988, 25, 5830, 311, 7068, 279, 11036, 505, 198, 16851, 198, 32, 4611, 67, 8322, 1646, 449, 279, 1890, 6105, 439, 279, 734 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.base.create_schema_from_function.html
f5805b4a2c69-0
langchain.tools.azure_cognitive_services.image_analysis.AzureCogsImageAnalysisTool¶ class langchain.tools.azure_cognitive_services.image_analysis.AzureCogsImageAnalysisTool(*, name: str = 'azure_cognitive_services_image_analysis', description: str = 'A wrapper around Azure Cognitive Services Image Analysis. Useful for when you need to analyze images. Input should be a url to an image.', args_schema: Optional[Type[BaseModel]] = None, return_direct: bool = False, verbose: bool = False, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, callback_manager: Optional[BaseCallbackManager] = None, handle_tool_error: Optional[Union[bool, str, Callable[[ToolException], str]]] = False, azure_cogs_key: str = '', azure_cogs_endpoint: str = '', vision_service: Any = None, analysis_options: Any = None)[source]¶ Bases: BaseTool Tool that queries the Azure Cognitive Services Image Analysis API. In order to set this up, follow instructions at: https://learn.microsoft.com/en-us/azure/cognitive-services/computer-vision/quickstarts-sdk/image-analysis-client-library-40 Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param args_schema: Optional[Type[BaseModel]] = None¶ Pydantic model class to validate and parse the tool’s input arguments. param callback_manager: Optional[BaseCallbackManager] = None¶ Deprecated. Please use callbacks instead. param callbacks: Callbacks = None¶ Callbacks to be called during tool execution. param description: str = 'A wrapper around Azure Cognitive Services Image Analysis. Useful for when you need to analyze images. Input should be a url to an image.'¶
[ 5317, 8995, 24029, 71340, 669, 51549, 40946, 7502, 43782, 58927, 34, 27403, 1945, 27671, 7896, 55609, 198, 1058, 8859, 8995, 24029, 71340, 669, 51549, 40946, 7502, 43782, 58927, 34, 27403, 1945, 27671, 7896, 4163, 11, 836, 25, 610, 284, 364, 40595, 669, 51549, 40946, 5060, 43782, 518, 4096, 25, 610, 284, 364, 32, 13564, 2212, 35219, 73235, 8471, 4758, 18825, 13, 51612, 369, 994, 499, 1205, 311, 24564, 5448, 13, 5688, 1288, 387, 264, 2576, 311, 459, 2217, 16045, 2897, 26443, 25, 12536, 58, 941, 58, 4066, 1747, 5163, 284, 2290, 11, 471, 33971, 25, 1845, 284, 3641, 11, 14008, 25, 1845, 284, 3641, 11, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 4927, 12418, 25, 12536, 58, 4066, 7646, 2087, 60, 284, 2290, 11, 3790, 23627, 4188, 25, 12536, 58, 33758, 58, 2707, 11, 610, 11, 54223, 15873, 7896, 1378, 1145, 610, 5163, 60, 284, 3641, 11, 77630, 669, 27403, 3173, 25, 610, 284, 9158, 77630, 669, 27403, 37799, 25, 610, 284, 9158, 11376, 12547, 25, 5884, 284, 2290, 11, 6492, 8917, 25, 5884, 284, 2290, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 7896, 198, 7896, 430, 20126, 279, 35219, 73235, 8471, 4758, 18825, 5446, 627, 644, 2015, 311, 743, 420, 709, 11, 1833, 11470, 520, 512, 2485, 1129, 12964, 28719, 916, 13920, 26766, 14, 40595, 2971, 51549, 59392, 26149, 11533, 8437, 1854, 14, 28863, 66976, 36578, 24234, 56536, 31111, 53521, 12, 1272, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 2897, 26443, 25, 12536, 58, 941, 58, 4066, 1747, 5163, 284, 2290, 55609, 198, 14149, 67, 8322, 1646, 538, 311, 9788, 323, 4820, 279, 5507, 753, 1988, 6105, 627, 913, 4927, 12418, 25, 12536, 58, 4066, 7646, 2087, 60, 284, 2290, 55609, 198, 52444, 13, 5321, 1005, 27777, 4619, 627, 913, 27777, 25, 23499, 82, 284, 2290, 55609, 198, 45561, 311, 387, 2663, 2391, 5507, 11572, 627, 913, 4096, 25, 610, 284, 364, 32, 13564, 2212, 35219, 73235, 8471, 4758, 18825, 13, 51612, 369, 994, 499, 1205, 311, 24564, 5448, 13, 5688, 1288, 387, 264, 2576, 311, 459, 2217, 3238, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.azure_cognitive_services.image_analysis.AzureCogsImageAnalysisTool.html
f5805b4a2c69-1
Used to tell the model how/when/why to use the tool. You can provide few-shot examples as a part of the description. param handle_tool_error: Optional[Union[bool, str, Callable[[ToolException], str]]] = False¶ Handle the content of the ToolException thrown. param name: str = 'azure_cognitive_services_image_analysis'¶ The unique name of the tool that clearly communicates its purpose. param return_direct: bool = False¶ Whether to return the tool’s output directly. Setting this to True means that after the tool is called, the AgentExecutor will stop looping. param verbose: bool = False¶ Whether to log the tool’s progress. __call__(tool_input: str, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None) → str¶ Make tool callable. async arun(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool asynchronously. validator raise_deprecation  »  all fields¶ Raise deprecation warning if callback_manager is used. run(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool. validator validate_environment  »  all fields[source]¶ Validate that api key and endpoint exists in environment. property args: dict¶ property is_single_input: bool¶ Whether the tool only accepts a single input. model Config¶
[ 23580, 311, 3371, 279, 1646, 1268, 14, 9493, 14, 35734, 311, 1005, 279, 5507, 627, 2675, 649, 3493, 2478, 64630, 10507, 439, 264, 961, 315, 279, 4096, 627, 913, 3790, 23627, 4188, 25, 12536, 58, 33758, 58, 2707, 11, 610, 11, 54223, 15873, 7896, 1378, 1145, 610, 5163, 60, 284, 3641, 55609, 198, 7144, 279, 2262, 315, 279, 13782, 1378, 15338, 627, 913, 836, 25, 610, 284, 364, 40595, 669, 51549, 40946, 5060, 43782, 6, 55609, 198, 791, 5016, 836, 315, 279, 5507, 430, 9539, 92606, 1202, 7580, 627, 913, 471, 33971, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 471, 279, 5507, 753, 2612, 6089, 13, 20638, 420, 311, 3082, 3445, 198, 9210, 1306, 279, 5507, 374, 2663, 11, 279, 21372, 26321, 690, 3009, 63687, 627, 913, 14008, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 1515, 279, 5507, 753, 5208, 627, 565, 6797, 3889, 14506, 6022, 25, 610, 11, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 8, 11651, 610, 55609, 198, 8238, 5507, 42022, 627, 7847, 802, 359, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 68881, 627, 16503, 4933, 2310, 70693, 4194, 8345, 4194, 682, 5151, 55609, 198, 94201, 409, 70693, 10163, 422, 4927, 12418, 374, 1511, 627, 6236, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 627, 16503, 9788, 52874, 4194, 8345, 4194, 682, 5151, 76747, 60, 55609, 198, 18409, 430, 6464, 1401, 323, 15233, 6866, 304, 4676, 627, 3784, 2897, 25, 6587, 55609, 198, 3784, 374, 20052, 6022, 25, 1845, 55609, 198, 25729, 279, 5507, 1193, 27441, 264, 3254, 1988, 627, 2590, 5649, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.azure_cognitive_services.image_analysis.AzureCogsImageAnalysisTool.html
f5805b4a2c69-2
Whether the tool only accepts a single input. model Config¶ Bases: object Configuration for this pydantic object. arbitrary_types_allowed = True¶ extra = 'forbid'¶
[ 25729, 279, 5507, 1193, 27441, 264, 3254, 1988, 627, 2590, 5649, 55609, 198, 33, 2315, 25, 1665, 198, 7843, 369, 420, 4611, 67, 8322, 1665, 627, 277, 88951, 9962, 43255, 284, 3082, 55609, 198, 15824, 284, 364, 2000, 21301, 6, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.azure_cognitive_services.image_analysis.AzureCogsImageAnalysisTool.html
1cc64330acdf-0
langchain.tools.office365.messages_search.SearchEmailsInput¶ class langchain.tools.office365.messages_search.SearchEmailsInput(*, folder: str = None, query: str, max_results: int = 10, truncate: bool = True)[source]¶ Bases: BaseModel Input for SearchEmails Tool. Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param folder: str = None¶ If the user wants to search in only one folder, the name of the folder. Default folders are “inbox”, “drafts”, “sent items”, “deleted ttems”, but users can search custom folders as well. param max_results: int = 10¶ The maximum number of results to return. param query: str [Required]¶ The Microsoift Graph v1.0 $search query. Example filters include from:sender, from:sender, to:recipient, subject:subject, recipients:list_of_recipients, body:excitement, importance:high, received>2022-12-01, received<2021-12-01, sent>2022-12-01, sent<2021-12-01, hasAttachments:true attachment:api-catalog.md, cc:samanthab@contoso.com, bcc:samanthab@contoso.com, body:excitement date range example: received:2023-06-08..2023-06-09 matching example: from:amy OR from:david. param truncate: bool = True¶ Whether the email body is trucated to meet token number limits. Set to False for searches that will retrieve very few results, otherwise, set to True
[ 5317, 8995, 24029, 100193, 12676, 26381, 10947, 33003, 4886, 82, 2566, 55609, 198, 1058, 8859, 8995, 24029, 100193, 12676, 26381, 10947, 33003, 4886, 82, 2566, 4163, 11, 8695, 25, 610, 284, 2290, 11, 3319, 25, 610, 11, 1973, 13888, 25, 528, 284, 220, 605, 11, 57872, 25, 1845, 284, 3082, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 65705, 198, 2566, 369, 7694, 4886, 82, 13782, 627, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 8695, 25, 610, 284, 2290, 55609, 198, 2746, 279, 1217, 6944, 311, 2778, 304, 1193, 832, 8695, 11, 279, 836, 315, 279, 8695, 13, 8058, 30342, 527, 1054, 85799, 9520, 1054, 46097, 82, 9520, 1054, 25526, 3673, 9520, 1054, 27619, 259, 91937, 9520, 719, 3932, 649, 2778, 2587, 30342, 439, 1664, 627, 913, 1973, 13888, 25, 528, 284, 220, 605, 55609, 198, 791, 7340, 1396, 315, 3135, 311, 471, 627, 913, 3319, 25, 610, 510, 8327, 60, 55609, 198, 791, 18654, 708, 2130, 12441, 348, 16, 13, 15, 400, 1874, 3319, 13, 13688, 13711, 2997, 505, 25, 11905, 11, 505, 25, 11905, 11, 311, 25, 43710, 11, 3917, 25, 11760, 11, 34876, 79179, 3659, 7225, 48747, 11, 2547, 25, 40541, 275, 1133, 11, 12939, 25, 12156, 11, 4036, 29, 2366, 17, 12, 717, 12, 1721, 11, 4036, 27, 2366, 16, 12, 717, 12, 1721, 11, 3288, 29, 2366, 17, 12, 717, 12, 1721, 11, 3288, 27, 2366, 16, 12, 717, 12, 1721, 11, 706, 76840, 18752, 220, 20581, 25, 2113, 1824, 7906, 22030, 11, 12810, 14835, 13005, 339, 370, 31, 778, 28246, 916, 11, 293, 641, 14835, 13005, 339, 370, 31, 778, 28246, 916, 11, 2547, 25, 40541, 275, 1133, 2457, 2134, 3187, 25, 4036, 25, 2366, 18, 12, 2705, 12, 2318, 497, 2366, 18, 12, 2705, 12, 2545, 220, 12864, 3187, 25, 505, 25, 27322, 2794, 505, 41522, 15567, 627, 913, 57872, 25, 1845, 284, 3082, 55609, 198, 25729, 279, 2613, 2547, 374, 490, 1791, 660, 311, 3449, 4037, 1396, 13693, 13, 2638, 311, 3641, 369, 27573, 430, 690, 17622, 1633, 2478, 3135, 11, 6062, 11, 743, 311, 3082 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.office365.messages_search.SearchEmailsInput.html
dafea9d1f77b-0
langchain.tools.office365.send_message.O365SendMessage¶ class langchain.tools.office365.send_message.O365SendMessage(*, name: str = 'send_email', description: str = 'Use this tool to send an email with the provided message fields.', args_schema: ~typing.Type[~langchain.tools.office365.send_message.SendMessageSchema] = <class 'langchain.tools.office365.send_message.SendMessageSchema'>, return_direct: bool = False, verbose: bool = False, callbacks: ~typing.Optional[~typing.Union[~typing.List[~langchain.callbacks.base.BaseCallbackHandler], ~langchain.callbacks.base.BaseCallbackManager]] = None, callback_manager: ~typing.Optional[~langchain.callbacks.base.BaseCallbackManager] = None, handle_tool_error: ~typing.Optional[~typing.Union[bool, str, ~typing.Callable[[~langchain.tools.base.ToolException], str]]] = False, account: Account = None)[source]¶ Bases: O365BaseTool Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param account: Account [Optional]¶ param args_schema: Type[langchain.tools.office365.send_message.SendMessageSchema] = <class 'langchain.tools.office365.send_message.SendMessageSchema'>¶ Pydantic model class to validate and parse the tool’s input arguments. param callback_manager: Optional[BaseCallbackManager] = None¶ Deprecated. Please use callbacks instead. param callbacks: Callbacks = None¶ Callbacks to be called during tool execution. param description: str = 'Use this tool to send an email with the provided message fields.'¶ Used to tell the model how/when/why to use the tool. You can provide few-shot examples as a part of the description.
[ 5317, 8995, 24029, 100193, 12676, 5331, 6598, 8548, 12676, 81963, 55609, 198, 1058, 8859, 8995, 24029, 100193, 12676, 5331, 6598, 8548, 12676, 81963, 4163, 11, 836, 25, 610, 284, 364, 6820, 9351, 518, 4096, 25, 610, 284, 364, 10464, 420, 5507, 311, 3708, 459, 2613, 449, 279, 3984, 1984, 5151, 16045, 2897, 26443, 25, 4056, 90902, 10394, 58, 93, 5317, 8995, 24029, 100193, 12676, 5331, 6598, 67430, 8802, 60, 284, 366, 1058, 364, 5317, 8995, 24029, 100193, 12676, 5331, 6598, 67430, 8802, 6404, 11, 471, 33971, 25, 1845, 284, 3641, 11, 14008, 25, 1845, 284, 3641, 11, 27777, 25, 4056, 90902, 37464, 58, 93, 90902, 10840, 290, 58, 93, 90902, 5937, 58, 93, 5317, 8995, 72134, 9105, 13316, 7646, 3126, 1145, 4056, 5317, 8995, 72134, 9105, 13316, 7646, 2087, 5163, 284, 2290, 11, 4927, 12418, 25, 4056, 90902, 37464, 58, 93, 5317, 8995, 72134, 9105, 13316, 7646, 2087, 60, 284, 2290, 11, 3790, 23627, 4188, 25, 4056, 90902, 37464, 58, 93, 90902, 10840, 290, 58, 2707, 11, 610, 11, 4056, 90902, 28115, 481, 15873, 93, 5317, 8995, 24029, 9105, 25443, 1378, 1145, 610, 5163, 60, 284, 3641, 11, 2759, 25, 8785, 284, 2290, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 507, 12676, 4066, 7896, 198, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 2759, 25, 8785, 510, 15669, 60, 55609, 198, 913, 2897, 26443, 25, 4078, 58, 5317, 8995, 24029, 100193, 12676, 5331, 6598, 67430, 8802, 60, 284, 366, 1058, 364, 5317, 8995, 24029, 100193, 12676, 5331, 6598, 67430, 8802, 6404, 55609, 198, 14149, 67, 8322, 1646, 538, 311, 9788, 323, 4820, 279, 5507, 753, 1988, 6105, 627, 913, 4927, 12418, 25, 12536, 58, 4066, 7646, 2087, 60, 284, 2290, 55609, 198, 52444, 13, 5321, 1005, 27777, 4619, 627, 913, 27777, 25, 23499, 82, 284, 2290, 55609, 198, 45561, 311, 387, 2663, 2391, 5507, 11572, 627, 913, 4096, 25, 610, 284, 364, 10464, 420, 5507, 311, 3708, 459, 2613, 449, 279, 3984, 1984, 5151, 3238, 55609, 198, 23580, 311, 3371, 279, 1646, 1268, 14, 9493, 14, 35734, 311, 1005, 279, 5507, 627, 2675, 649, 3493, 2478, 64630, 10507, 439, 264, 961, 315, 279, 4096, 13 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.office365.send_message.O365SendMessage.html
dafea9d1f77b-1
You can provide few-shot examples as a part of the description. param handle_tool_error: Optional[Union[bool, str, Callable[[ToolException], str]]] = False¶ Handle the content of the ToolException thrown. param name: str = 'send_email'¶ The unique name of the tool that clearly communicates its purpose. param return_direct: bool = False¶ Whether to return the tool’s output directly. Setting this to True means that after the tool is called, the AgentExecutor will stop looping. param verbose: bool = False¶ Whether to log the tool’s progress. __call__(tool_input: str, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None) → str¶ Make tool callable. async arun(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool asynchronously. validator raise_deprecation  »  all fields¶ Raise deprecation warning if callback_manager is used. run(tool_input: Union[str, Dict], verbose: Optional[bool] = None, start_color: Optional[str] = 'green', color: Optional[str] = 'green', callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, **kwargs: Any) → Any¶ Run the tool. property args: dict¶ property is_single_input: bool¶ Whether the tool only accepts a single input. model Config¶ Bases: object Configuration for this pydantic object. arbitrary_types_allowed = True¶ extra = 'forbid'¶
[ 2675, 649, 3493, 2478, 64630, 10507, 439, 264, 961, 315, 279, 4096, 627, 913, 3790, 23627, 4188, 25, 12536, 58, 33758, 58, 2707, 11, 610, 11, 54223, 15873, 7896, 1378, 1145, 610, 5163, 60, 284, 3641, 55609, 198, 7144, 279, 2262, 315, 279, 13782, 1378, 15338, 627, 913, 836, 25, 610, 284, 364, 6820, 9351, 6, 55609, 198, 791, 5016, 836, 315, 279, 5507, 430, 9539, 92606, 1202, 7580, 627, 913, 471, 33971, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 471, 279, 5507, 753, 2612, 6089, 13, 20638, 420, 311, 3082, 3445, 198, 9210, 1306, 279, 5507, 374, 2663, 11, 279, 21372, 26321, 690, 3009, 63687, 627, 913, 14008, 25, 1845, 284, 3641, 55609, 198, 25729, 311, 1515, 279, 5507, 753, 5208, 627, 565, 6797, 3889, 14506, 6022, 25, 610, 11, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 8, 11651, 610, 55609, 198, 8238, 5507, 42022, 627, 7847, 802, 359, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 68881, 627, 16503, 4933, 2310, 70693, 4194, 8345, 4194, 682, 5151, 55609, 198, 94201, 409, 70693, 10163, 422, 4927, 12418, 374, 1511, 627, 6236, 50050, 6022, 25, 9323, 17752, 11, 30226, 1145, 14008, 25, 12536, 58, 2707, 60, 284, 2290, 11, 1212, 6855, 25, 12536, 17752, 60, 284, 364, 13553, 518, 1933, 25, 12536, 17752, 60, 284, 364, 13553, 518, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 3146, 9872, 25, 5884, 8, 11651, 5884, 55609, 198, 6869, 279, 5507, 627, 3784, 2897, 25, 6587, 55609, 198, 3784, 374, 20052, 6022, 25, 1845, 55609, 198, 25729, 279, 5507, 1193, 27441, 264, 3254, 1988, 627, 2590, 5649, 55609, 198, 33, 2315, 25, 1665, 198, 7843, 369, 420, 4611, 67, 8322, 1665, 627, 277, 88951, 9962, 43255, 284, 3082, 55609, 198, 15824, 284, 364, 2000, 21301, 6, 55609 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.office365.send_message.O365SendMessage.html
b81c7bd1ed05-0
langchain.tools.python.tool.PythonREPLTool¶ class langchain.tools.python.tool.PythonREPLTool(*, name: str = 'Python_REPL', description: str = 'A Python shell. Use this to execute python commands. Input should be a valid python command. If you want to see the output of a value, you should print it out with `print(...)`.', args_schema: Optional[Type[BaseModel]] = None, return_direct: bool = False, verbose: bool = False, callbacks: Optional[Union[List[BaseCallbackHandler], BaseCallbackManager]] = None, callback_manager: Optional[BaseCallbackManager] = None, handle_tool_error: Optional[Union[bool, str, Callable[[ToolException], str]]] = False, python_repl: PythonREPL = None, sanitize_input: bool = True)[source]¶ Bases: BaseTool A tool for running python code in a REPL. Create a new model by parsing and validating input data from keyword arguments. Raises ValidationError if the input data cannot be parsed to form a valid model. param args_schema: Optional[Type[BaseModel]] = None¶ Pydantic model class to validate and parse the tool’s input arguments. param callback_manager: Optional[BaseCallbackManager] = None¶ Deprecated. Please use callbacks instead. param callbacks: Callbacks = None¶ Callbacks to be called during tool execution. param description: str = 'A Python shell. Use this to execute python commands. Input should be a valid python command. If you want to see the output of a value, you should print it out with `print(...)`.'¶ Used to tell the model how/when/why to use the tool. You can provide few-shot examples as a part of the description.
[ 5317, 8995, 24029, 44293, 21966, 1087, 27993, 793, 2989, 7896, 55609, 198, 1058, 8859, 8995, 24029, 44293, 21966, 1087, 27993, 793, 2989, 7896, 4163, 11, 836, 25, 610, 284, 364, 31380, 2241, 2989, 518, 4096, 25, 610, 284, 364, 32, 13325, 12811, 13, 5560, 420, 311, 9203, 10344, 11545, 13, 5688, 1288, 387, 264, 2764, 10344, 3290, 13, 1442, 499, 1390, 311, 1518, 279, 2612, 315, 264, 907, 11, 499, 1288, 1194, 433, 704, 449, 1595, 1374, 19381, 47286, 16045, 2897, 26443, 25, 12536, 58, 941, 58, 4066, 1747, 5163, 284, 2290, 11, 471, 33971, 25, 1845, 284, 3641, 11, 14008, 25, 1845, 284, 3641, 11, 27777, 25, 12536, 58, 33758, 53094, 58, 4066, 7646, 3126, 1145, 5464, 7646, 2087, 5163, 284, 2290, 11, 4927, 12418, 25, 12536, 58, 4066, 7646, 2087, 60, 284, 2290, 11, 3790, 23627, 4188, 25, 12536, 58, 33758, 58, 2707, 11, 610, 11, 54223, 15873, 7896, 1378, 1145, 610, 5163, 60, 284, 3641, 11, 10344, 1311, 501, 25, 13325, 793, 2989, 284, 2290, 11, 46283, 6022, 25, 1845, 284, 3082, 6758, 2484, 60, 55609, 198, 33, 2315, 25, 5464, 7896, 198, 32, 5507, 369, 4401, 10344, 2082, 304, 264, 93680, 627, 4110, 264, 502, 1646, 555, 23115, 323, 69772, 1988, 828, 505, 16570, 6105, 627, 36120, 54129, 422, 279, 1988, 828, 4250, 387, 16051, 311, 1376, 264, 2764, 1646, 627, 913, 2897, 26443, 25, 12536, 58, 941, 58, 4066, 1747, 5163, 284, 2290, 55609, 198, 14149, 67, 8322, 1646, 538, 311, 9788, 323, 4820, 279, 5507, 753, 1988, 6105, 627, 913, 4927, 12418, 25, 12536, 58, 4066, 7646, 2087, 60, 284, 2290, 55609, 198, 52444, 13, 5321, 1005, 27777, 4619, 627, 913, 27777, 25, 23499, 82, 284, 2290, 55609, 198, 45561, 311, 387, 2663, 2391, 5507, 11572, 627, 913, 4096, 25, 610, 284, 364, 32, 13325, 12811, 13, 5560, 420, 311, 9203, 10344, 11545, 13, 5688, 1288, 387, 264, 2764, 10344, 3290, 13, 1442, 499, 1390, 311, 1518, 279, 2612, 315, 264, 907, 11, 499, 1288, 1194, 433, 704, 449, 1595, 1374, 19381, 47286, 3238, 55609, 198, 23580, 311, 3371, 279, 1646, 1268, 14, 9493, 14, 35734, 311, 1005, 279, 5507, 627, 2675, 649, 3493, 2478, 64630, 10507, 439, 264, 961, 315, 279, 4096, 13 ]
https://langchain.readthedocs.io/en/latest/tools/langchain.tools.python.tool.PythonREPLTool.html