find_objects
AI: find things by name. Returns candidate boxes [x1,y1,x2,y2] in document pixels, best first, with scores. It never picks: several candidates can mean several objects or a wrong match, so check the boxes (preview with a region) before passing one to select_with_ai target=object.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | ||
| word | Yes | What to find: "dog", "suit", "red car". Letters, digits, spaces. | |
| image | Yes | Image id, as returned by open_photo. | |
| layer | No | Run on this layer alone (e.g. a placed photo), not the whole image. | |
| layer_id | No | Layer id (takes priority over `layer`). |