Create infrastructure asset document
create_infrastructure_asset_documentAttach document metadata to an infrastructure feature. Upload the file bytes first via create_upload_url, then pass the returned file_path here. Requires infrastructure_asset_documents:write scope.
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": {
"feature_id": "<feature_id>",
"name": "<name>",
"file_path": "<file_path>"
},
"name": "create_infrastructure_asset_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Document name (required) | |
| category | No | Document category | |
| file_path | Yes | Storage path from create_upload_url (required) | |
| file_size | No | File size in bytes | |
| file_type | No | MIME type | |
| feature_id | Yes | Infrastructure feature ID (required) - resolve via list_infrastructure_assets | |
| description | No | Description |