立即开始
Supabase Tools

Supabase Create Function

通过 Aident Loadout 使用 Supabase Tools 的 Supabase Create Function。执行前查看输入、输出、设置、价格和风险。

写入操作风险等级 2/5OAuth 连接

服务提供商说明

Creates a new serverless Edge Function for a Supabase project (identified by `ref`), requiring valid JavaScript/TypeScript in `body` and a project-unique `slug` identifier.

价格与限制

价格
免费操作
统一支付
暂不支持

输入

  • refstring
    必填
    Project's unique identifier (path parameter).
  • bodystring
    必填
    JavaScript or TypeScript source code for the Edge Function.
  • namestring
    必填
    Human-readable name for the function.
  • slugstring
    必填
    URL-friendly identifier for the function's route prefix. Must be unique within the project.
  • import_mapboolean
    If true, enable import map for ES module resolution.
  • verify_jwtboolean
    If true, verify JWT in Authorization header before invoking the function. Set to false for public endpoints like webhooks.
  • entrypoint_pathstring
    Path to main function code, relative to project's functions directory. Defaults to `./index.ts` or `./index.js` in function's slug directory.
  • import_map_pathstring
    Path to import map JSON, relative to project's functions directory; used if `import_map` is true. Defaults to `import_map.json` in function's slug directory.

可观察输出

  • data
    必填
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    必填
    Whether or not the action execution was successful or not

使用此操作的技能

相关使用场景

尚未关联经过验证的相关使用场景。

官方来源

服务提供商来源