Run assessment from local file
air_run_assessment_from_fileRun a governed risk assessment from a local file: upload the document, extract its contents, and start the assessment, returning a task handle for tracking.
Instructions
Upload a local file, wait for extraction, start assessment on the new artifact. Consumes credits. Requires projects:write and assessments:write. Returns an MCP Task handle immediately. Reads filePath with your OS user permissions.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectPid": "<projectPid>",
"filePath": "<filePath>"
},
"name": "air_run_assessment_from_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Assessment name (defaults to filename) | |
| filePath | Yes | Absolute or relative path to a local document file | |
| projectPid | Yes | ||
| contentType | No | MIME type (inferred from extension when omitted) |