Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
ALIBABA_CLOUD_ACCESS_KEY_ID | Yes | Your Alibaba Cloud Access Key ID | |
ALIBABA_CLOUD_ACCESS_KEY_SECRET | Yes | Your Alibaba Cloud Access Key Secret |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
deploy-custom-runtime-function |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
put-custom-runtime-function | 将构建完成的匹配阿里云自定义运行时的工程,部署到函数计算。代码工程不需要手动打包,会自动处理。如果函数已存在,则尝试覆盖并更新目标函数。建议使用该方法前先确认函数是否存在 |
update-custom-runtime-function | 更新并部署custom runtime函数。如果需要修改代码,必须先完成构建。如果需要更新函数配置,需要提供更新的参数,未提供的参数将保持不变 |
get-function | 获取创建的函数计算的函数信息 |
list-functions | 获取函数计算的函数列表,只返回函数名称与部分函数信息,不返回所有函数信息。如果需要获取所有函数信息,请使用get-function工具 |
delete-function | 删除函数计算的函数 |
get-custom-domain-config | 查询函数计算的域名路由配置 |
update-custom-domain-config | 更新函数计算的域名路由配置,修改域名路由配置 |
create-custom-domain-config | 创建函数计算的域名路由配置,域名必须已经CNAME到函数计算的公网域名(格式为${uid}.${regionId}.fc.aliyuncs.com,例如14**49.cn-hangzhou.fc.aliyuncs.com)上,否则会创建失败。 |
delete-custom-domain-config | 删除函数计算的域名路由配置,CNAME记录不会被删除,需要手动删除CNAME记录 |
publish-function-version | 将函数的最新代码发布为新版本 |
list-function-versions | 获取函数计算的函数版本列表 |
delete-function-version | 删除函数计算的函数版本 |