SERVICE & TOOLS

DingTalk

DingTalk — contacts, messaging, calendar, todos, approvals, attendance, smart tables, reports (device auth)

enterpriseOAuth

130 available tools

aitable__create_base

Creates a new AI table Base in DingTalk; only baseName is required, and the server creates it from the default template and returns baseId and baseName.

aitable__create_chart

Creates a chart on a specified DingTalk dashboard and returns the new chart's details. Call get_dashboard_widgets_example first to learn the required structure of the config object.

aitable__create_dashboard

Creates a dashboard in the specified Base. Call get_dashboard_config_example first to learn the required structure of the config object, then build the JSON accordingly. Returns the details of the new…

aitable__create_fields

Adds multiple fields to an existing table in DingTalk AI Table, useful for extending a table after creation or adding several complex field types such as link or workflow fields at once. Create at mos…

aitable__create_records

Creates multiple records in a DingTalk AI Table table in one call. Use list_bases or search_bases to get the baseId and get_base to get the tableId; up to 100 records per call.

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 colu…

aitable__create_view

Create a new view in a DingTalk AI Table table. Supported viewType values are Grid, FormDesigner, Gantt, Calendar, Kanban, and Gallery; if viewName is omitted, a unique name is generated from the view…

aitable__delete_base

Permanently deletes the specified Base; this is high-risk and irreversible. Confirm the target with get_base first, and after a successful deletion the Base should no longer be readable via get_base o…

aitable__delete_chart

Deletes the specified chart and its corresponding layout item in the dashboard. This action is irreversible.

aitable__delete_dashboard

Deletes a dashboard in DingTalk AI Table, along with all charts under it; this cannot be undone.

aitable__delete_field

Deletes a field from a DingTalk AI Table table. This is irreversible and permanently removes the field and all its data, so always pass exact IDs (never names) for baseId, tableId and fieldId; the pri…

aitable__delete_records

Permanently deletes records from a DingTalk AI Table in bulk; this cannot be undone. Delete at most 100 records per call and split larger sets into multiple calls, and use query_records first to confi…

aitable__delete_table

Permanently deletes the data table with the given tableId; this is a high-risk, irreversible write and the data is lost for good. Before calling, confirm the target table ID and name via get_base / ge…

aitable__delete_view

Deletes a view from a DingTalk AI Table base. This cannot be undone; the last remaining view in a table and locked views cannot be deleted.

aitable__export_data

Exports DingTalk AI Table data as a file. Call it without taskId to create a new export task and wait up to timeoutMs for it; if the task finishes in that window you get downloadUrl and fileName direc…

aitable__get_base

Retrieves directory-level information for a DingTalk AI Table base, returning the base name plus summary lists of its tables and dashboards without field or record details. Use this as the entry point…

aitable__get_base_primary_doc_id

Retrieves the document info for the primary-key document of a record in a DingTalk AI Table, returning its dentryuuid, which you then use to fetch the document's content or perform other operations on…

aitable__get_chart

Retrieves detailed information about a specific chart in DingTalk AI Table, including its dashboard ID, name, type, widget config, and layout. Use get_dashboard to obtain the chartId and get_base to o…

aitable__get_chart_share

Retrieves the current share settings for a chart in DingTalk AI Table, including whether sharing is enabled, the share type (PUBLIC or ORG), and the share URL. If sharing is off, enabled is false and …

aitable__get_dashboard

Retrieves detailed information about a specific dashboard in a DingTalk AI Table base, including its name, filters, layout, and a summary of the charts it contains. Use get_base to obtain the baseId a…

aitable__get_dashboard_config_example

Returns a complete example of the dashboard config structure in JSONC format, with comments explaining each field's meaning and constraints. Use it as a reference for the config parameter of create_da…

aitable__get_dashboard_share

Retrieves the current share settings for a dashboard in DingTalk AI Table, including whether sharing is enabled, the share type (PUBLIC or ORG), and the share URL. If sharing is off, enabled is false …

aitable__get_dashboard_widgets_example

Returns example widget configs in JSONC for every chart type, with inline comments explaining each field and its constraints. Use these as the config structure reference for create_chart or update_cha…

aitable__get_fields

Retrieves full details for specific fields in a DingTalk AI Table, including fieldId, name, type, description, and type-specific configuration such as formatting, options, and AI settings. Use it afte…

aitable__get_tables

Retrieves table-level info, field catalogs, and view catalogs for the specified tables in a DingTalk AI Table base, or for all tables in the base if none are given. Pass table IDs explicitly (up to 10…

aitable__get_views

Retrieves full details for views in a DingTalk AI Table table, including column order, filters, sorts, groups, conditional formatting, and custom configuration. Pass viewIds to fetch specific views in…

aitable__import_data

Imports a file already uploaded via prepare_import_upload into an AI table, creating a separate new table for each sheet; appending to existing tables is not supported. The call waits for the import t…

aitable__list_bases

Lists the AI table bases the current user can access, returning baseId and baseName for use with get_base. Results default to recently accessed bases and are paginated with a cursor; a base's URL can …

aitable__prepare_attachment_upload

Requests a capacity-checked OSS direct-upload URL for a single attachment-field file. Use it only when you need to upload a local file before writing it into an attachment field; it is not a general-p…

aitable__prepare_import_upload

Requests an OSS direct-upload URL for an import job and returns uploadUrl and importId. Upload the raw file bytes to uploadUrl with an HTTP PUT, without adding custom headers such as Content-Type unle…

aitable__query_records

Queries records in a DingTalk AI Table table, either by record IDs or by filter conditions. Pass recordIds (up to 100) to fetch specific records directly, or use filters, sort and cursor to page throu…

aitable__search_bases

Search AI Table bases by name keyword and get back baseId/baseName pairs sorted by relevance; use it to find a base before calling tools like get_base. The returned baseId can be used to build the AI …

aitable__search_templates

Search AI table templates by name keyword, with pagination. Use the returned templateId directly with create_base; a template preview link can be built as https://docs.dingtalk.com/table/template/{tem…

aitable__update_base

Renames an existing DingTalk AI Table base and optionally updates its description. Use this when you need to change a base's name or notes; other extended properties such as theme and cover are not su…

aitable__update_chart

Updates the config or layout of an existing chart in a DingTalk AI Table dashboard. Call get_dashboard_widgets_example first to learn the required structure of the config object.

aitable__update_chart_share

Turns sharing on or off for a chart in a DingTalk AI Table dashboard and sets the share type. Set enabled to true to enable sharing or false to disable it, in which case shareType is ignored; shareTyp…

aitable__update_dashboard

Updates the configuration of a specified dashboard in a DingTalk AI Table base. Call get_dashboard_config_example first to learn the required structure of the config object; only the fields you pass a…

aitable__update_dashboard_share

Turns sharing on or off for a dashboard and sets the share type. Set enabled=true to share and enabled=false to stop sharing, in which case shareType is ignored. Returns the updated share config, incl…

aitable__update_field

Updates the name or configuration of an existing field in a DingTalk AI Table; use it when a field's settings need to change. The field type cannot be changed, and at least one of newFieldName, config…

aitable__update_records

Updates field values on multiple records in a DingTalk AI Table at once; only the fields you pass are changed, and all other fields keep their existing values.

aitable__update_table

Renames a table in a DingTalk AI Table base. Get the tableId first with get_base; the call returns an error if the new name is invalid, duplicates another table in the same base, or you lack permissio…

aitable__update_view

Updates the name, description, or configuration of a specified view in a DingTalk AI Table base. Stable updates cover newViewName, viewDescription, visibleFieldIds, filter, sort, and group; fieldWidth…

attendance__batch_get_employee_shifts

Batch-queries attendance shift records for multiple employees over a date range, returning each record's userId, workDate, checkType, planCheckTime and isRest flag. The range cannot exceed 7 days and …

attendance__get_attendance_summary

Fetches a DingTalk attendance summary for the specified user and date.

attendance__get_user_attendance_record

Retrieves a user's attendance details for a given day, including clock-in/clock-out punches, whether punches were normal, the assigned shift, attendance group, rest-day status, worked hours, and overt…

attendance__query_attendance_group_or_rules

Looks up your DingTalk attendance group and its rules for a given date, answering questions like which group you belong to, what the clock-in range is, or how flexible hours are calculated.

bot__add_robot_to_group

Adds a custom robot to a DingTalk group chat that the current user has admin rights to; it returns an error if the user lacks permission.

bot__batch_recall_robot_users_msg

Recalls multiple single-chat messages sent by a DingTalk bot in one call.

bot__batch_send_robot_msg_to_users

Sends a Markdown message from a DingTalk bot to multiple users as individual one-on-one chats; only employees within the bot's allowed scope will receive it, and up to 20 user IDs can be included per …

bot__create_robot

Creates an enterprise robot in DingTalk: it sets up an internal app in the current organization with Stream mode enabled and publishes it automatically, visible only to the current user by default.