Reference
Plugin SDK
Extend the agent with custom tools written in Python or TypeScript.
Define a tool
from iris.sdk import tool
@tool(
name="weather",
description="Get current weather for a city.",
)
def weather(city: str) -> dict:
return fetch(f"https://api.example.com/weather?q={city}").json()Register
iris plugins install ./my_plugin
iris plugins listEnd of docs