← All toolsFinance & Analysiscompliance_toolsAll editions

CREATE_INTERNAL_AUDIT_REPORT

Creates an internal audit report (.docx) detailing scope, findings, non-conformities, and recommendations.

Parameters

NameTypeRequiredDescription
output_pathstringyes
company_namestringyes
audit_scopestringyes
auditor_namestring
audit_datestring
executive_summarystring
findingsarrayyes[{area, observation, type (Major/Minor NCS, OFI), recommendation}]

How to use it

You normally trigger this by describing what you want in chat — the agent selects CREATE_INTERNAL_AUDIT_REPORT automatically. For example:

Try saying
“create a compliance tools document”

In a workflow

As a step in a multi-step workflow DAG:

json
{
  "id": "s1",
  "agent": "compliance_tools",
  "action": "CREATE_INTERNAL_AUDIT_REPORT",
  "args": {
    "output_path": "/Users/me/Documents/file.txt",
    "company_name": "…",
    "audit_scope": "…",
    "findings": []
  },
  "depends_on": [],
  "outputs": []
}

Direct call

For scripting, call it directly via POST /execute_tool. Every tool returns { success, message, data }.

bash
curl -X POST http://127.0.0.1:8000/execute_tool \
  -H "Content-Type: application/json" \
  -d '{"tool_name":"CREATE_INTERNAL_AUDIT_REPORT","args":{"output_path":"/Users/me/Documents/file.txt","company_name":"…","audit_scope":"…","findings":[]}}'

Part of the compliance_tools plugin. Browse the full Plugin & Tool Catalog or the relevant feature guide.