TOOL API

aitable__create_table

Creates a new table in the specified DingTalk Base, optionally with a set of initial fields. You can include at most 15 fields at creation; if fields is empty, the service adds a primaryDoc first column named "Title". If tableName matches an existing table in the Base, the service appends a number to the name and returns the actual name in summary. To add more fields, or to add fields to an existing table, use create_fields instead.

enterpriseOAuth1 credits

Call information

Tool slug
dingtalk.aitable__create_table
Provider
DingTalk
Average response
0 ms
Calls in 7 days
0

Input parameters

baseIdrequired

目标 Base ID(通过 list_bases 获取)

fieldsrequired

建表时随附创建的初始字段列表,至少包含 1 个字段,单次最多 15 个。若传空数组,系统会自动补一个名为“标题”的 primaryDoc 首列。 建议在此处定义结构清晰的基础字段(如文本、数字、日期、单选等); 复杂字段(关联、流转等)建议建表完成后通过 create_fields 单独添加。 每个字段对象包含: fieldName(必填): 字段名称 type(必填): 字段类型...

tableNamerequired

表格名称,1~100 个字符;不能包含 / \ ? * [ ] : 等字符。