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":"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 e(),a("div",null,s[0]||(s[0]=[t('

Module nonebot_plugin_marshoai.plugins_test.weather_demo


@on_function_call(description='可以用于查询天气').params(location=String(description='地点'))

async func weather(location: str) -> str

Source code or View on GitHub
python
@on_function_call(description='可以用于查询天气').params(location=String(description='地点'))\nasync def weather(location: str) -> str:\n    return f'{location}的天气是晴天, 温度是25°C'
',5)]))}const g=i(n,[["render",l]]);export{c as __pageData,g as default};