import{_ as i,c as a,ae as t,o as e}from"./chunks/framework.BzDBnRMZ.js";const c=JSON.parse('{"title":"weather_demo","description":"","frontmatter":{"title":"weather_demo","order":100},"headers":[],"relativePath":"dev/api/plugins_test/weather_demo.md","filePath":"zh/dev/api/plugins_test/weather_demo.md","lastUpdated":null}'),n={name:"dev/api/plugins_test/weather_demo.md"};function h(l,s,r,o,p,d){return e(),a("div",null,s[0]||(s[0]=[t('
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'