AACFlow

MySQL

Connect to MySQL database

Usage Instructions

Integrate MySQL into the workflow. Can query, insert, update, delete, and execute raw SQL.

Tools

mysql_query

Input

ParameterTypeRequiredDescription
hoststringYesNo description
portnumberYesNo description
databasestringYesNo description
usernamestringYesNo description
passwordstringYesNo description
sslstringNoNo description
querystringYesNo description

Output

ParameterTypeDescription
messagestringOperation status message
rowsarrayArray of rows returned from the query
rowCountnumberNumber of rows returned

mysql_insert

Input

ParameterTypeRequiredDescription
hoststringYesNo description
portnumberYesNo description
databasestringYesNo description
usernamestringYesNo description
passwordstringYesNo description
sslstringNoNo description
tablestringYesNo description
dataobjectYesNo description

Output

ParameterTypeDescription
messagestringOperation status message
rowsarrayArray of inserted rows
rowCountnumberNumber of rows inserted

mysql_update

Input

ParameterTypeRequiredDescription
hoststringYesNo description
portnumberYesNo description
databasestringYesNo description
usernamestringYesNo description
passwordstringYesNo description
sslstringNoNo description
tablestringYesNo description
dataobjectYesNo description
wherestringYesNo description

Output

ParameterTypeDescription
messagestringOperation status message
rowsarrayArray of updated rows
rowCountnumberNumber of rows updated

mysql_delete

Input

ParameterTypeRequiredDescription
hoststringYesNo description
portnumberYesNo description
databasestringYesNo description
usernamestringYesNo description
passwordstringYesNo description
sslstringNoNo description
tablestringYesNo description
wherestringYesNo description

Output

ParameterTypeDescription
messagestringOperation status message
rowsarrayArray of deleted rows
rowCountnumberNumber of rows deleted

mysql_execute

Input

ParameterTypeRequiredDescription
hoststringYesNo description
portnumberYesNo description
databasestringYesNo description
usernamestringYesNo description
passwordstringYesNo description
sslstringNoNo description
querystringYesRaw SQL query to execute (e.g., CREATE TABLE users (id INT PRIMARY KEY, name VARCHAR(255)))

Output

ParameterTypeDescription
messagestringOperation status message
rowsarrayArray of rows returned from the query
rowCountnumberNumber of rows affected

mysql_introspect

Introspect MySQL database schema to retrieve table structures, columns, and relationships

Input

ParameterTypeRequiredDescription
hoststringYesNo description
portnumberYesNo description
databasestringYesNo description
usernamestringYesNo description
passwordstringYesNo description
sslstringNoNo description

Output

ParameterTypeDescription
messagestringOperation status message
tablesarrayArray of table schemas with columns, keys, and indexes
databasesarrayList of available databases on the server

On this page

Start building today
Trusted by over 100,000 builders.
The SaaS platform to build AI agents and run your agentic workforce.
Get started