The Affinda MCP connector routes your AI agent's tool calls to Affinda's own MCP server through Scalekit. Each user signs in to Affinda once, and Scalekit stores and refreshes their tokens, so your agent never handles credentials. It comes with 85 tools.
- Tools
- 85
- What they doRead · write · destructive
- 35 · 36 · 1435 read36 write14 destructive
- Users sign in with
- OAuth
- OAuth app
- Scalekit's or your own
Setup
Install the SDK
Terminal window npm install @scalekit-sdk/node dotenvTerminal window pip install scalekit-sdk-python python-dotenvSet your credentials
Add your Scalekit credentials to your
.envfile. Find values in app.scalekit.com > Developers > API Credentials..env SCALEKIT_ENVIRONMENT_URL=<your-environment-url>SCALEKIT_CLIENT_ID=<your-client-id>SCALEKIT_CLIENT_SECRET=<your-client-secret>Create the Affinda MCP connection
In AgentKit > Connections, create an Affinda MCP connection. The name you give it is the
connection_nameyour code passes. See Configure connections.Scalekit credentials are available for Affinda MCP server, so you don't need to register an OAuth app.
Authorize a user and make your first call
quickstart.mts import { ScalekitClient } from '@scalekit-sdk/node'import 'dotenv/config'import { createInterface } from 'node:readline/promises'const scalekit = new ScalekitClient(process.env.SCALEKIT_ENVIRONMENT_URL,process.env.SCALEKIT_CLIENT_ID,process.env.SCALEKIT_CLIENT_SECRET,)const actions = scalekit.actionsconst connector = 'affindamcp'const identifier = 'user_123'// Generate an authorization link for the userconst { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })console.log('Authorize Affinda MCP:', link)const rl = createInterface({ input: process.stdin, output: process.stdout })await rl.question('Press Enter after authorizing...')rl.close()// Make your first callconst result = await actions.executeTool({connector,identifier,toolName: 'affindamcp_list_organizations',toolInput: {},})console.log(result)Terminal window npx tsx quickstart.mtsquickstart.py import osfrom scalekit import ScalekitClientfrom dotenv import load_dotenvload_dotenv()scalekit_client = ScalekitClient(env_url=os.getenv("SCALEKIT_ENVIRONMENT_URL"),client_id=os.getenv("SCALEKIT_CLIENT_ID"),client_secret=os.getenv("SCALEKIT_CLIENT_SECRET"),)actions = scalekit_client.actionsconnection_name = "affindamcp"identifier = "user_123"# Generate an authorization link for the userlink_response = actions.get_authorization_link(connection_name=connection_name,identifier=identifier,)print("Authorize Affinda MCP:", link_response.link)input("Press Enter after authorizing...")# Make your first callresult = actions.execute_tool(tool_input={},tool_name="affindamcp_list_organizations",connection_name=connection_name,identifier=identifier,)print(result)Terminal window python quickstart.pyEach user signs in once. See Authorize a user for the full flow and statuses.
Tools
Pass the exact name toexecute_toolaffindamcp_get_data_sourceGet one data source by ID â name, schema, and key/display properties.Read-onlyGet data source
Get one data source by ID â name, schema, and key/display properties.
Inputs
data_source_idstringrequired- No description.
affindamcp_get_documentGet one document by ID â state, workspace, document type, and basic metadata.Read-onlyGet document
Get one document by ID â state, workspace, document type, and basic metadata.
Inputs
document_idstringrequired- No description.
affindamcp_get_document_extractionGet the extracted data for one document â raw text plus all field values.Read-onlyGet document extraction
Get the extracted data for one document â raw text plus all field values.
Inputs
document_idstringrequired- No description.
affindamcp_get_document_page_imagesView a document's pages as rendered images, to see the actual document rather than just OCR text.Read-onlyGet document page images
View a document's pages as rendered images, to see the actual document rather than just OCR text. Use this when the visual appearance of a document matters and text alone is ambiguous — layout questions, checkboxes and selection marks, signatures, stamps, handwriting, logos, or diagnosing why extraction misread something. The images show each page as it appears in the document review UI. With show_annotations, the extracted annotations are drawn on top of each page as colored rectangles tagged with their field slug — use this to check where a value was read from (wrong instance picked, value attributed to the wrong field, table rows/columns mapped incorrectly). On dense documents, pass field_slugs to only draw the fields you are debugging (a table's slug also draws its cells). Images are expensive in tokens — request only the pages you need, at most 5 per call. For extracted values and raw text, use get_document_extraction instead; only reach for images when text output isn't enough.
Inputs
document_idstringrequired- ID of the document to view.
field_slugsarray- Only draw annotations for these field slugs (implies show_annotations). Omit to draw all annotated fields.
page_indicesarray- Zero-based page indices to fetch (e.g. [0] for the first page). Omit to get the first 5 pages. Request at most 5 pages per call.
show_annotationsboolean- Draw the extracted annotations on the page images as colored rectangles labelled with their field slug.default
false
affindamcp_get_document_typeGet one document type by ID â name, organization, and counts only.Read-onlyGet document type
Get one document type by ID â name, organization, and counts only.
Inputs
document_type_idstringrequired- No description.
affindamcp_get_document_type_detailsGet a document type's full configuration â settings + counts.Read-onlyGet document type details
Get a document type's full configuration â settings + counts.
Inputs
document_type_idstringrequired- No description.
affindamcp_get_fieldGet one field by ID â full settings, formatter, and relationships.Read-onlyGet field
Get one field by ID â full settings, formatter, and relationships.
Inputs
field_idstringrequired- No description.
affindamcp_get_field_groupGet one field group by ID â label, position, parent document type.Read-onlyGet field group
Get one field group by ID â label, position, parent document type.
Inputs
field_group_idstringrequired- No description.
affindamcp_get_integrationGet one integration by ID â full configuration, code, and connections.Read-onlyGet integration
Get one integration by ID â full configuration, code, and connections.
Inputs
integration_idstringrequired- No description.
affindamcp_get_integration_runGet one integration run by ID â full, untruncated logs and output.Read-onlyGet integration run
Get one integration run by ID â full, untruncated logs and output.
Inputs
integration_run_idstringrequired- No description.
affindamcp_get_usageGet daily credits consumption for an organization over a date range.Read-onlyGet usage
Get daily credits consumption for an organization over a date range.
Inputs
organization_idstringrequired- No description.
document_type_idstring- No description.
end_datestring- No description.
start_datestring- No description.
workspace_idstring- No description.
affindamcp_get_validation_ruleGet one validation rule by ID â prompt, enabled, fields, missing-data option.Read-onlyGet validation rule
Get one validation rule by ID â prompt, enabled, fields, missing-data option.
Inputs
validation_rule_idstringrequired- No description.
affindamcp_get_workspaceGet one workspace by ID â name, organization, and document counts only.Read-onlyGet workspace
Get one workspace by ID â name, organization, and document counts only.
Inputs
workspace_idstringrequired- No description.
affindamcp_get_workspace_detailsGet a workspace's full configuration â settings + counts.Read-onlyGet workspace details
Get a workspace's full configuration â settings + counts.
Inputs
workspace_idstringrequired- No description.
affindamcp_list_data_source_valuesList the rows (records) stored in a data source.Read-onlyList data source values
List the rows (records) stored in a data source.
Inputs
data_source_idstringrequired- No description.
limitinteger- No description.default
100
affindamcp_list_data_sourcesList data sources (lookup tables) defined on an organization.Read-onlyList data sources
List data sources (lookup tables) defined on an organization.
Inputs
organization_idstringrequired- No description.
limitinteger- No description.default
20
affindamcp_list_document_splittersList document splitters available to an organization.Read-onlyList document splitters
List document splitters available to an organization.
Inputs
organization_idstringrequired- No description.
affindamcp_list_document_typesList document types in an organization.Read-onlyList document types
List document types in an organization.
Inputs
organization_idstringrequired- No description.
limitinteger- No description.default
50
affindamcp_list_documentsList documents in a workspace with their state and basic metadata.Read-onlyList documents
List documents in a workspace with their state and basic metadata.
Inputs
workspace_idstringrequired- No description.
limitinteger- No description.default
20 search_textstring- No description.
statestring- No description.
affindamcp_list_fieldsList a document type's full field schema, grouped by field group.Read-onlyList fields
List a document type's full field schema, grouped by field group.
Inputs
document_type_idstringrequired- No description.
affindamcp_list_integration_connectionsList third-party service connections in an organization.Read-onlyList integration connections
List third-party service connections in an organization.
Inputs
organization_idstringrequired- No description.
affindamcp_list_integration_runsList recent runs for an integration, newest first.Read-onlyList integration runs
List recent runs for an integration, newest first.
Inputs
integration_idstringrequired- No description.
limitinteger- No description.default
5
affindamcp_list_integration_secretsList the names of secrets configured for an integration.Read-onlyList Integration Secrets
List the names of secrets configured for an integration.
Inputs
integration_idstringrequired- No description.
affindamcp_list_integration_versionsList deployed-version snapshots for an integration, newest first.Read-onlyList integration versions
List deployed-version snapshots for an integration, newest first.
Inputs
integration_idstringrequired- No description.
limitinteger- No description.default
10
affindamcp_list_integrationsList integrations in an organization.Read-onlyList integrations
List integrations in an organization.
Inputs
organization_idstringrequired- No description.
enabledstring- No description.
limitinteger- No description.default
20 workspace_idstring- No description.
affindamcp_list_matching_criteriaList matching criteria configured on a field.Read-onlyList matching criteria
List matching criteria configured on a field.
Inputs
field_idstringrequired- No description.
affindamcp_list_model_memory_documentsList the confirmed reference documents currently in a document type's model memory.Read-onlyList model memory documents
List the confirmed reference documents currently in a document type's model memory.
Inputs
document_type_idstringrequired- No description.
limitinteger- No description.default
50
affindamcp_list_organizationsList organizations the current user belongs to.Read-onlyList organizations
List organizations the current user belongs to.
Inputs
limitinteger- No description.default
20
affindamcp_list_pipedream_appsSearch the catalogue of Pipedream apps available for new connections.Read-onlyList pipedream apps
Search the catalogue of Pipedream apps available for new connections.
Inputs
search_querystring- No description.
affindamcp_list_recent_field_annotationsSpot-check how one field is being extracted across recent documents.Read-onlyList recent field annotations
Spot-check how one field is being extracted across recent documents.
Inputs
field_idstringrequired- No description.
filter_bystring- No description.one of
anyreviewvalidatedin_model_memorydefaultany limitinteger- No description.default
25
affindamcp_list_validation_rulesList validation rules attached to a document type.Read-onlyList validation rules
List validation rules attached to a document type.
Inputs
document_type_idstringrequired- No description.
limitinteger- No description.default
100
affindamcp_list_workspacesList workspaces in an organization.Read-onlyList workspaces
List workspaces in an organization.
Inputs
organization_idstringrequired- No description.
limitinteger- No description.default
20
affindamcp_test_connectionVerify a service connection's credentials are still valid.Read-onlyTest connection
Verify a service connection's credentials are still valid.
Inputs
connection_idstringrequired- No description.
affindamcp_wait_for_document_processingBlock until every document in a workspace has finished processing.Read-onlyWait for document processing
Block until every document in a workspace has finished processing.
Inputs
workspace_idstringrequired- No description.
timeout_secondsinteger- No description.default
120
affindamcp_add_connection_to_integrationAttach an existing service connection to an integration.WriteAdd connection to integration
Attach an existing service connection to an integration.
- Idempotent
Inputs
connection_idstringrequired- No description.
integration_idstringrequired- No description.
affindamcp_add_tag_to_documentsApply an existing tag to one or more documents.WriteAdd tag to documents
Apply an existing tag to one or more documents. Use this to label documents — e.g. "tag these three invoices as Urgent". Documents that already carry the tag are unaffected (the operation is idempotent). All documents must belong to the same workspace as the tag. The tag must already exist — find its ID with list_tags or create it first with create_tag.
- Idempotent
Inputs
document_idsarrayrequired- Documents to tag.
tag_idstringrequired- ID of the tag to apply.
affindamcp_archive_documentsMove documents to ``archived`` state.WriteArchive documents
Move documents to ``archived`` state.
- Idempotent
Inputs
document_idsarrayrequired- No description.
affindamcp_assign_document_type_to_workspaceMake a document type available for use in a workspace.WriteAssign document type to workspace
Make a document type available for use in a workspace.
- Idempotent
Inputs
document_type_idstringrequired- No description.
workspace_idstringrequired- No description.
affindamcp_bulk_create_data_source_valuesAppend many new rows to a data source in one call.WriteBulk create data source values
Append many new rows to a data source in one call.
Inputs
data_source_idstringrequired- No description.
valuesarrayrequired- No description.
affindamcp_bulk_create_fieldsCreate many fields on a document type in one call.WriteBulk create fields
Create many fields on a document type in one call.
Inputs
document_type_idstringrequired- No description.
fieldsarrayrequired- No description.
field_group_idstring- No description.
affindamcp_confirm_documentsMark documents as validated, moving them from ``review`` to ``validated``.WriteConfirm documents
Mark documents as validated, moving them from ``review`` to ``validated``.
- Idempotent
Inputs
document_idsarrayrequired- No description.
affindamcp_create_api_tokenCreate a new long-lived Affinda API key for the current user.WriteCreate API token
Create a new long-lived Affinda API key for the current user.
Inputs
This tool takes no inputs.
affindamcp_create_connect_tokenMint an OAuth connect token + URL so the user can authorise a service.WriteCreate connect token
Mint an OAuth connect token + URL so the user can authorise a service.
Inputs
connection_idstringrequired- No description.
affindamcp_create_data_sourceCreate an empty data source (lookup table) in an organization.WriteCreate data source
Create an empty data source (lookup table) in an organization.
Inputs
namestringrequired- No description.
organization_idstringrequired- No description.
display_propertystring- No description.default
label key_propertystring- No description.default
value schema_definitionstring- No description.
affindamcp_create_data_source_valueAdd one new row to a data source.WriteCreate data source value
Add one new row to a data source.
Inputs
data_source_idstringrequired- No description.
valuestringrequired- No description.
affindamcp_create_document_typeCreate a new document type (extraction template) in an organization.WriteCreate document type
Create a new document type (extraction template) in an organization.
Inputs
namestringrequired- No description.
organization_idstringrequired- No description.
disable_confirmation_if_validation_rules_failboolean- No description.default
false
affindamcp_create_fieldCreate a single field on a document type.WriteCreate field
Create a single field on a document type.
Inputs
document_type_idstringrequired- No description.
field_typestringrequired- No description.one of
textfloatintegerdecimaldatedatetimedaterangeenumoptionsbooleancheckedboxtextcheckedboxbooleanlocationphonenumberurlgrouptablesignatureheadshotseal labelstringrequired- No description.
slugstringrequired- No description.
decimal_placesstring- No description.
descriptionstring- No description.
enabledboolean- No description.default
true field_group_idstring- No description.
manual_entryboolean- No description.default
false mapping_data_source_idstring- No description.
multipleboolean- No description.default
false no_rectboolean- No description.default
false optionsstring- No description.
parent_idstring- No description.
transformation_promptstring- No description.
affindamcp_create_field_groupCreate a field group (heading/section) on a document type.WriteCreate field group
Create a field group (heading/section) on a document type.
Inputs
document_type_idstringrequired- No description.
labelstringrequired- No description.
affindamcp_create_integrationCreate a new, empty integration in an organization.WriteCreate integration
Create a new, empty integration in an organization.
Inputs
namestringrequired- No description.
organization_idstringrequired- No description.
descriptionstring- No description.default
affindamcp_create_matching_criterionAdd a matching criterion to a field with an attached data source.WriteCreate matching criterion
Add a matching criterion to a field with an attached data source.
Inputs
data_source_propertystringrequired- No description.
field_idstringrequired- No description.
source_field_idstringrequired- No description.
field_attributestring- No description.
match_typestring- No description.one of
matchmatch_phrasetermdefaultmatch requiredboolean- No description.default
false required_strictboolean- No description.default
false
affindamcp_create_recruit_workspaceCreate a fully-configured Recruitment workspace in one call.WriteCreate recruit workspace
Create a fully-configured Recruitment workspace in one call.
Inputs
organization_idstringrequired- No description.
affindamcp_create_tagCreate a new tag in a workspace.WriteCreate tag
Create a new tag in a workspace. Use this when the user wants a new label to organise documents — e.g. "create an Urgent tag", "add a tag for Q3 invoices". The tag starts with no documents attached; apply it with add_tag_to_documents. Tag names must be unique within a workspace. Check list_tags first if you're unsure whether the tag already exists.
Inputs
namestringrequired- Tag name (e.g. Urgent, Q3 Invoices). Max 256 chars.
workspace_idstringrequired- Workspace the tag belongs to.
affindamcp_create_validation_ruleCreate a validation rule for a document type.WriteCreate validation rule
Create a validation rule for a document type.
Inputs
document_type_idstringrequired- No description.
promptstringrequired- No description.
enabledboolean- No description.default
true field_idsstring- No description.
missing_data_optionstring- No description.
affindamcp_create_validation_runRun a validation rule against a document and refresh its results.WriteCreate validation run
Run a validation rule against a document and refresh its results.
Inputs
validation_rule_idstringrequired- No description.
document_idstring- No description.
document_type_idstring- No description.
affindamcp_create_workspaceCreate a new workspace with chosen processing settings.WriteCreate workspace
Create a new workspace with chosen processing settings.
Inputs
namestringrequired- No description.
organization_idstringrequired- No description.
document_splitter_idstring- No description.
enable_document_classificationboolean- No description.default
true enable_document_splittingboolean- No description.default
false model_memory_strategystring- No description.one of
automanualalwaysdefaultauto ocr_modestring- No description.one of
auto-detectalways-fullalways-partialskipdefaultauto-detect reject_duplicatesboolean- No description.default
true visibilitystring- No description.one of
organizationprivatedefaultorganization
affindamcp_populate_document_type_fieldsAuto-suggest fields for a document type by analysing sample documents.WritePopulate document type fields
Auto-suggest fields for a document type by analysing sample documents.
Inputs
document_idsarrayrequired- No description.
document_type_idstringrequired- No description.
instructionsstring- No description.
affindamcp_reassign_document_typeReassign documents to a different document type in the same workspace.WriteReassign document type
Reassign documents to a different document type in the same workspace.
- Idempotent
Inputs
document_idsarrayrequired- No description.
document_type_idstringrequired- No description.
reparseboolean- No description.default
true
affindamcp_reject_documentsMove documents to ``rejected`` state.WriteReject documents
Move documents to ``rejected`` state.
- Idempotent
Inputs
document_idsarrayrequired- No description.
affindamcp_remove_tag_from_documentsTake a tag off one or more documents.WriteRemove tag from documents
Take a tag off one or more documents. Use this to un-label documents — e.g. "remove the Urgent tag from these invoices". The tag itself is kept and stays available for other documents; documents that don't carry the tag are unaffected. To delete the tag everywhere in one step, use delete_tag instead.
- Idempotent
Inputs
document_idsarrayrequired- Documents to remove the tag from.
tag_idstringrequired- ID of the tag to remove.
affindamcp_set_integration_secretCreate or update a secret on an integration.WriteSet Integration Secret
Create or update a secret on an integration. The value is stored only as an environment variable on the Lambda function â never in the database.
- Idempotent
Inputs
integration_idstringrequired- No description.
namestringrequired- No description.
valuestringrequired- No description.
affindamcp_update_data_sourceUpdate top-level settings on a data source (name, key, display property).WriteUpdate data source
Update top-level settings on a data source (name, key, display property).
- Idempotent
Inputs
data_source_idstringrequired- No description.
display_propertystring- No description.
key_propertystring- No description.
namestring- No description.
affindamcp_update_data_source_valueUpdate one row in a data source by its key â partial merge.WriteUpdate data source value
Update one row in a data source by its key â partial merge.
- Idempotent
Inputs
data_source_idstringrequired- No description.
keystringrequired- No description.
valuestringrequired- No description.
affindamcp_update_document_typeUpdate one or more settings on an existing document type.WriteUpdate document type
Update one or more settings on an existing document type.
- Idempotent
Inputs
document_type_idstringrequired- No description.
auto_refresh_validation_resultsstring- No description.
disable_confirmation_if_validation_rules_failstring- No description.
namestring- No description.
show_redact_buttonstring- No description.
affindamcp_update_fieldUpdate one or more settings on an existing field.WriteUpdate field
Update one or more settings on an existing field.
- Idempotent
Inputs
field_idstringrequired- No description.
auto_confirm_if_validation_rules_passstring- No description.
decimal_placesstring- No description.
descriptionstring- No description.
display_enum_valuestring- No description.
display_raw_textstring- No description.
drop_nullstring- No description.
enabledstring- No description.
field_group_idstring- No description.
field_typestring- No description.
hide_enum_detailstring- No description.
labelstring- No description.
manual_entrystring- No description.
mapping_data_source_idstring- No description.
multiplestring- No description.
no_rectstring- No description.
optionsstring- No description.
positionstring- No description.
return_first_instance_onlystring- No description.
slugstring- No description.
transformation_promptstring- No description.
affindamcp_update_integrationUpdate one or more settings â including code â on an integration.WriteUpdate integration
Update one or more settings â including code â on an integration.
- Idempotent
Inputs
integration_idstringrequired- No description.
descriptionstring- No description.
document_type_idstring- No description.
enabledstring- No description.
eventstring- No description.
namestring- No description.
python_codestring- No description.
workspace_idstring- No description.
affindamcp_update_matching_criterionUpdate settings on an existing matching criterion.WriteUpdate matching criterion
Update settings on an existing matching criterion.
- Idempotent
Inputs
matching_criterion_idstringrequired- No description.
data_source_propertystring- No description.
field_attributestring- No description.
match_typestring- No description.
requiredstring- No description.
required_strictstring- No description.
source_field_idstring- No description.
affindamcp_update_organizationRename an organization.WriteUpdate organization
Rename an organization.
- Idempotent
Inputs
namestringrequired- No description.
organization_idstringrequired- No description.
affindamcp_update_tagRename a tag.WriteUpdate tag
Rename a tag. Use this when the user wants to change a tag's name — e.g. "rename the Urgent tag to High Priority". The rename applies everywhere at once: every document carrying the tag shows the new name immediately. A tag cannot be moved to a different workspace; create a new tag there instead. To change which documents carry the tag, use add_tag_to_documents / remove_tag_from_documents.
- Idempotent
Inputs
namestringrequired- New tag name. Max 256 chars.
tag_idstringrequired- ID of the tag to rename.
affindamcp_update_validation_ruleUpdate one or more settings on an existing validation rule.WriteUpdate validation rule
Update one or more settings on an existing validation rule.
- Idempotent
Inputs
validation_rule_idstringrequired- No description.
enabledstring- No description.
field_idsstring- No description.
generate_codeboolean- No description.default
false missing_data_optionstring- No description.
promptstring- No description.
affindamcp_update_workspaceUpdate one or more settings on an existing workspace.WriteUpdate workspace
Update one or more settings on an existing workspace.
- Idempotent
Inputs
workspace_idstringrequired- No description.
auto_validationstring- No description.
document_splitter_idstring- No description.
enable_document_classificationstring- No description.
enable_document_splittingstring- No description.
enable_validationstring- No description.
model_memory_strategystring- No description.
namestring- No description.
ocr_modestring- No description.
reject_duplicatesstring- No description.
visibilitystring- No description.
affindamcp_delete_data_sourceDelete a data source and every row it contains.DestructiveDelete data source
Delete a data source and every row it contains.
- Idempotent
Inputs
data_source_idstringrequired- No description.
affindamcp_delete_data_source_valueDelete one row from a data source by its key.DestructiveDelete data source value
Delete one row from a data source by its key.
- Idempotent
Inputs
data_source_idstringrequired- No description.
keystringrequired- No description.
affindamcp_delete_document_typeDelete a document type permanently.DestructiveDelete document type
Delete a document type permanently.
- Idempotent
Inputs
document_type_idstringrequired- No description.
delete_documentsboolean- No description.default
false
affindamcp_delete_fieldDelete a single field from a document type.DestructiveDelete field
Delete a single field from a document type.
- Idempotent
Inputs
field_idstringrequired- No description.
affindamcp_delete_field_groupDelete a field group (heading/section) from a document type.DestructiveDelete field group
Delete a field group (heading/section) from a document type.
- Idempotent
Inputs
field_group_idstringrequired- No description.
affindamcp_delete_integrationPermanently delete an integration.DestructiveDelete integration
Permanently delete an integration.
- Idempotent
Inputs
integration_idstringrequired- No description.
affindamcp_delete_integration_secretPermanently delete a secret.DestructiveDelete Integration Secret
Permanently delete a secret. Removes both the database record and the Lambda environment variable.
- Idempotent
Inputs
secret_idstringrequired- No description.
affindamcp_delete_matching_criterionDelete a matching criterion from a field.DestructiveDelete matching criterion
Delete a matching criterion from a field.
- Idempotent
Inputs
matching_criterion_idstringrequired- No description.
affindamcp_delete_tagDelete a tag from its workspace.DestructiveDelete tag
Delete a tag from its workspace. Use this only when the user explicitly wants the tag gone — e.g. "delete the Urgent tag". The tag is removed from every document that carried it; the documents themselves are untouched. To take the tag off specific documents while keeping it available for others, use remove_tag_from_documents instead.
- Idempotent
Inputs
tag_idstringrequired- ID of the tag to delete.
affindamcp_delete_validation_ruleDelete a validation rule from a document type.DestructiveDelete validation rule
Delete a validation rule from a document type.
- Idempotent
Inputs
validation_rule_idstringrequired- No description.
affindamcp_deploy_integration_versionSnapshot the integration's current code as a new version and deploy it.DestructiveDeploy integration version
Snapshot the integration's current code as a new version and deploy it. Call this immediately after every successful ``update_integration`` that changed ``python_code`` â it MUST be the next tool call. Code saved on the integration is not live until deployed, and ``run_integration`` always executes the deployed version, so skipping this step means tests run stale code and real document events still fire the previous version. To roll back a bad deploy, use ``revert_integration_version`` wi...
- Idempotent
Inputs
integration_idstringrequired- No description.
affindamcp_remove_connection_from_integrationDetach a service connection from an integration.DestructiveRemove connection from integration
Detach a service connection from an integration.
- Idempotent
Inputs
connection_idstringrequired- No description.
integration_idstringrequired- No description.
affindamcp_revert_integration_versionRoll an integration back to a previous version and redeploy it.DestructiveRevert integration version
Roll an integration back to a previous version and redeploy it.
- Idempotent
Inputs
integration_idstringrequired- No description.
version_idstringrequired- No description.
affindamcp_run_integrationExecute an integration against one document as a test run.DestructiveRun integration
Execute an integration against one document as a test run.
Inputs
document_idstringrequired- No description.
integration_idstringrequired- No description.
No tools match.