Skip to main content

Toolkits

OASIS supports all toolkits, mcp toolkits, and customized function tools listed in camel here: https://docs.camel-ai.org/key_modules/tools. You can pass a List[Union[FunctionTool, Callable]] as the set of external tools that the agent is allowed to use in addition to performing social media actions.

Example

1. SympyToolkit:

For example, you can add the SympyToolkit to the SocialAgent as follows:

2. SearchToolkit().search_duckduckgo:

3. Your own function tool:

Or you can define a custom function for the agent to query specific information — for example, letting the agent check whether your cat is sleeping.
If you want to define other custom functions, make sure your functions include complete docstrings and type annotations — just like the example provided.