MCPcopy Create free account
hub / github.com/freecodexyz/free-code / isReadOnly

Function isReadOnly

src/tools/RemoteTriggerTool/RemoteTriggerTool.ts:66–68  ·  view source on GitHub ↗
(input: Input)

Source from the content-addressed store, hash-verified

64 return true
65 },
66 isReadOnly(input: Input) {
67 return input.action === 'list' || input.action === 'get'
68 },
69 toAutoClassifierInput(input: Input) {
70 return `RemoteTrigger ${input.action}${input.trigger_id ? ` ${input.trigger_id}` : ''}`
71 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected