source.file.add
Registers a source file record with a program's source file manager, linking a session, path, and optional identifier metadata for analysis traceability.
Instructions
Register a source file record with the program's source file manager.
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": {
"session_id": "<session_id>",
"path": "<path>"
},
"name": "source.file.add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| id_type | No | ||
| session_id | Yes | ||
| identifier_hex | No |