Developer tools
Agent Toolkit
Tools reference
Tools reference
Learn more about the tools available in the Knock Agent Toolkit.
The Knock Agent Toolkit exposes a suite of tools that your AI agents can invoke to power cross-channel user messaging, without any integration logic. You can find the full list of available tools below.
Channels (channels)
#listChannels: List all channels in your Knock account
Commits (commits)
#listCommits: List all commits in a single environmentcommitAllChanges: Commit all changes in an environmentpromoteAllCommits: Promote all commits from one environment to another
Documentation (documentation)
#searchDocumentation: Perform a search of the Knock documentation
Email layouts (emailLayouts)
#listEmailLayouts: List all email layouts in an environmentgetEmailLayout: Get an email layout by its keycreateOrUpdateEmailLayout: Create or update an email layout in an environment
Environments (environments)
#listEnvironments: List all environments in your Knock account
Guides (guides)
#listGuides: List all guides available for the given environmentgetGuide: Get a guide by its keycreateOrUpdateGuide: Create or update a guide
Message types (messageTypes)
#listMessageTypes: List all message types in an environmentcreateOrUpdateMessageType: Create or update a message type in an environment
Messages (messages)
#getMessage: Get a message by its IDgetMessageContent: Get the content of a sent messagegetMessageDeliveryLogs: Get the delivery logs for a messagegetMessageEvents: Get the event timeline for a message
Objects (objects)
#listObjects: List all objects in a collection in an environmentgetObject: Get an object in a collection by its idcreateOrUpdateObject: Create or update an object in a collectionsubscribeUsersToObject: Subscribe one or more users to an object in a collectionunsubscribeUsersFromObject: Unsubscribe one or more users from an object in a collection
Partials (partials)
#listPartials: List all partials in an environmentgetPartial: Get a partial by its keycreateOrUpdatePartial: Create or update a partial in an environment
Tenants (tenants)
#listTenants: List all tenants in an environmentgetTenant: Get a tenant by its keycreateOrUpdateTenant: Create or update a tenant in an environment
Users (users)
#getUser: Get a user by their idcreateOrUpdateUser: Create or update a user in an environmentgetUserPreferences: Get the preferences for a usersetUserPreferences: Set the preferences for a usergetUserMessages: Get the messages for a user
Workflows (workflows)
#listWorkflows: List all workflows in an environmentgetWorkflow: Get a workflow by its keytriggerWorkflow: Trigger a workflow by its keycreateWorkflow: Create a new workflowcreateOneOffWorkflowSchedule: Create a one-off schedule for a user to trigger a workflow
Workflow steps (workflows)
#createOrUpdateEmailStepInWorkflow: Create or update an email step in a workflowcreateOrUpdateDelayStepInWorkflow: Create or update a delay step in a workflowcreateOrUpdateBatchStepInWorkflow: Create or update a batch step in a workflowcreateOrUpdateInAppFeedStepInWorkflow: Create or update an in-app feed step in a workflowcreateOrUpdatePushStepInWorkflow: Create or update a push notification step in a workflowcreateOrUpdateSmsStepInWorkflow: Create or update an SMS step in a workflowcreateOrUpdateChatStepInWorkflow: Create or update a chat step in a workflow