For the complete documentation index, see llms.txt. This page is also available as Markdown.

Count Project Requests

Description

Returns the number of AttackForge project requests matching the optional filter. Use this when you only need a total - call find_project_requests for the records. Results are automatically scoped to project requests the calling user can access (non-admin users only count project requests they have View access to). Returns 0 when project requests are disabled for the tenant (frontend.enable_project_requests).

How To Enable

  1. Go to Users

  2. Select the user you would like to provide access to this tool

  3. Click on Access > MCP

  4. Click on Add Tools

  5. Select the tool count_project_requests and click Add

Example Prompts

  • How many project requests are pending approval?

  • How many project requests require onsite testing?

  • How many project requests were submitted this quarter?

  • How many project requests have been rejected?

Parameters

Parameter
Type
Required
Description

filter

object

No

A MongoDB-style filter. Supported fields are listed below.

Supported filter fields:

Field
Type / Values

id

ObjectId('<24 hex>')

created, modified

ISO-8601 datetime

name, code

string

organization_code

string

status

one of 'Pending Approval', 'Approved', 'Rejected', 'Requested Information'

desired_start_date

ISO-8601 datetime

desired_end_date

ISO-8601 datetime

onsite_testing_required

one of 'Yes', 'No'

custom_fields

array of { key: string, value: string or array }

Example Response

Last updated