rules_get
Read the security rules in force for Firestore databases and Storage buckets, including rule source, enforcement status, and detected problems.
Instructions
Read the Security Rules in force: the Firestore rules of a database and the Storage rules of a bucket (source, whether they are enforced, the file and its problems). To test whether a request would be allowed, use rules_evaluate; for requests already denied, rules_list_denials.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "rules_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucket | No | Storage bucket; default the default bucket | |
| service | No | Only firestore or storage; default both | |
| database | No | Firestore database id; default (default) |