Caching
Python
from nitrostack import cache, tool
@tool(name="lookup", description="...", input_schema=LookupInput)
@cache(ttl=60)
async def lookup(self, input: LookupInput, context):
return await self.service.fetch(input.id)
ttl is in seconds. Pair with rate limiting on expensive tools.