Implementation
gradeNot graded
gradeNot graded
landing_get_overviewAction
获取交易系统主页概览、数据更新口径与当前可访问的功能模块
View tool JSON
{
"name": "landing_get_overview",
"kind": "act",
"impl": "imperative",
"description": "获取交易系统主页概览、数据更新口径与当前可访问的功能模块",
"inputSchema": {
"type": "object",
"properties": {}
}
}landing_navigateAction
跳转到系统允许的路由页面(白名单:/ 为首页, /journal 为投资组合与记录, /about 为关于)
View tool JSON
{
"name": "landing_navigate",
"kind": "act",
"impl": "imperative",
"description": "跳转到系统允许的路由页面(白名单:/ 为首页, /journal 为投资组合与记录, /about 为关于)",
"inputSchema": {
"type": "object",
"properties": {
"path": {
"type": "string",
"enum": [
"/",
"/journal",
"/about"
],
"description": "目标页面白名单路径:\"/\", \"/journal\", \"/about\""
}
},
"required": [
"path"
]
}
}landing_list_accountsAnswer
获取交易账户列表与默认主账户
View tool JSON
{
"name": "landing_list_accounts",
"kind": "answer",
"impl": "imperative",
"description": "获取交易账户列表与默认主账户",
"inputSchema": {
"type": "object",
"properties": {}
}
}landing_get_portfolio_previewAnswer
获取主账户的持仓及资产预览数据(包含 as_of 截至日期、币种、数据来源及指标口径)
View tool JSON
{
"name": "landing_get_portfolio_preview",
"kind": "answer",
"impl": "imperative",
"description": "获取主账户的持仓及资产预览数据(包含 as_of 截至日期、币种、数据来源及指标口径)",
"inputSchema": {
"type": "object",
"properties": {
"account_alias": {
"type": "string",
"description": "可选,指定账户别名。不传则使用默认主账户"
}
}
}
}landing_switch_languageAction
切换页面展示语言(zh: 中文, en: 英文)
View tool JSON
{
"name": "landing_switch_language",
"kind": "act",
"impl": "imperative",
"description": "切换页面展示语言(zh: 中文, en: 英文)",
"inputSchema": {
"type": "object",
"properties": {
"lang": {
"type": "string",
"enum": [
"zh",
"en"
],
"description": "语言代码: zh 或 en"
}
},
"required": [
"lang"
]
}
}landing_switch_themeAction
切换界面主题(light: 亮色, dark: 暗色, blue: 蓝色)
View tool JSON
{
"name": "landing_switch_theme",
"kind": "act",
"impl": "imperative",
"description": "切换界面主题(light: 亮色, dark: 暗色, blue: 蓝色)",
"inputSchema": {
"type": "object",
"properties": {
"theme": {
"type": "string",
"enum": [
"light",
"dark",
"blue"
],
"description": "主题名称: light, dark 或 blue"
}
},
"required": [
"theme"
]
}
}