import{_ as i,c as a,o as t,ae as e}from"./chunks/framework.AELpvxz7.js";const c=JSON.parse('{"title":"weather_demo","description":"","frontmatter":{"title":"weather_demo","order":100},"headers":[],"relativePath":"en/dev/api/plugins_test/weather_demo.md","filePath":"en/dev/api/plugins_test/weather_demo.md","lastUpdated":null}'),n={name:"en/dev/api/plugins_test/weather_demo.md"};function l(h,s,o,r,p,d){return t(),a("div",null,s[0]||(s[0]=[e('
nonebot_plugin_marshoai.plugins_test.weather_demo
@on_function_call(description='可以用于查询天气').params(location=String(description='地点'))
weather(location: str) -> str
@on_function_call(description='可以用于查询天气').params(location=String(description='地点'))\nasync def weather(location: str) -> str:\n return f'{location}的天气是晴天, 温度是25°C'