openfga_model_write
Deploy OpenFGA authorization models using DSL file paths or strings to configure access control policies across environments.
Instructions
OpenFGA Authorization Model 배포 - DSL 파일 경로 또는 DSL 문자열로 모델 배포
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": {
"env": "<env>"
},
"name": "openfga_model_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | Yes | 환경명 (local, int, stage, real) | |
| storeId | No | 스토어 ID (생략 시 기본값 사용) | |
| filePath | No | DSL 파일 경로 (예: /path/to/model.fga) | |
| dsl | No | DSL 문자열 (filePath가 없을 때 사용) |