Run the tool.
classmethod schema(by_alias: bool = True, ref_template: unicode = '#/definitions/{model}') → DictStrAny¶
classmethod schema_json(*, by_alias: bool = True, ref_template: unicode = '#/definitions/{model}', **dumps_kwargs: Any) → unicode¶
stream(input: Input, config: Optional[RunnableConfig] = None) → Iterator[Output]¶
classmethod update_forward_refs(**localns: Any) → None¶
Try to update ForwardRefs on fields based on this Model, globalns and localns.
classmethod validate(value: Any) → Model¶
with_fallbacks(fallbacks: ~typing.Sequence[~langchain.schema.runnable.Runnable[~langchain.schema.runnable.Input, ~langchain.schema.runnable.Output]], *, exceptions_to_handle: ~typing.Tuple[~typing.Type[BaseException]] = (<class 'Exception'>,)) → RunnableWithFallbacks[Input, Output]¶
property args: dict¶
The tool’s input arguments.
property is_single_input: bool¶
Whether the tool only accepts a single input.
Examples using Tool¶
DataForSeo API Wrapper
Google Serper API
SerpAPI
Google Search
Python REPL
Zep Memory
Dynamodb Chat Message History
Google Serper
Document Comparison
Natural Language APIs
Github Toolkit
Comparing Chain Outputs
Agent VectorDB Question Answering Benchmarking
AutoGPT
BabyAGI with Tools
Plug-and-Plai
Wikibase Agent
SalesGPT - Your Context-Aware AI Sales Assistant With Knowledge Base
Custom Agent with PlugIn Retrieval
Agent Debates with Tools
Adding Message Memory backed by a database to an Agent
How to add Memory to an Agent
Multi-Input Tools
Defining Custom Tools
Self ask with search
ReAct document store
OpenAI Multi Functions Agent
Combine agents and vector stores